Top Inners Constructors Methods
org.jruby.main

public Class CheckpointMain

extends PrebootMain
Class Inheritance
Imports
com.headius.options.Option, org.crac.CheckpointException, .Context, .Core, .Resource, .RestoreException, org.jruby.Main, .Ruby, .RubyInstanceConfig, org.jruby.exceptions.RaiseException, org.jruby.util.cli.Options, java.io.InputStream

Nested and Inner Type Summary

Modifier and TypeClass and Description
private static class

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
protected void
public static void
main(String[]
command-line args, provided by the JVM.
args
)

Hides org.jruby.Main.main.

This is the command-line entry point for JRuby, and should ONLY be used by Java when starting up JRuby from a command-line.

protected RubyInstanceConfig
protected Ruby
protected String[]
Inherited from org.jruby.main.PrebootMain:
getPrebootConfiggetPrebootMaingetPrebootRuntimeprebootprebootprepareOptions

Constructor Detail

CheckpointMainback to summary
public CheckpointMain()

Method Detail

endPrebootback to summary
protected void endPreboot(RubyInstanceConfig config, Ruby ruby, String[] args)

Overrides org.jruby.main.PrebootMain.endPreboot.

Annotations
@Override
mainback to summary
public static void main(String[] args)

Hides org.jruby.Main.main.

Doc from org.jruby.Main.main.

This is the command-line entry point for JRuby, and should ONLY be used by Java when starting up JRuby from a command-line. Use other mechanisms when embedding JRuby into another application.

Parameters
args:String[]

command-line args, provided by the JVM.

prepareConfigback to summary
protected RubyInstanceConfig prepareConfig(String[] args)

Overrides org.jruby.main.PrebootMain.prepareConfig.

prepareRuntimeback to summary
protected Ruby prepareRuntime(RubyInstanceConfig config, String[] args)

Overrides org.jruby.main.PrebootMain.prepareRuntime.

warmupback to summary
protected String[] warmup(String[] args)

Overrides org.jruby.main.PrebootMain.warmup.

org.jruby.main back to summary

private Class CheckpointMain.JRubyContext

extends Context<Resource>
Class Inheritance

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public void
afterRestore(Context<? extends Resource>
Context providing notification
context
)

Implements abstract org.crac.Context.afterRestore.

Implements org.crac.Resource.afterRestore.

Invoked by a Context as a notification about restore.

public void
beforeCheckpoint(Context<? extends Resource>
Context providing notification
context
)

Implements abstract org.crac.Context.beforeCheckpoint.

Implements org.crac.Resource.beforeCheckpoint.

Invoked by a Context as a notification about checkpoint.

public void
register(Resource
Resource to be registered.
resource
)

Implements abstract org.crac.Context.register.

Registers a Resource with this Context.

Constructor Detail

JRubyContextback to summary
private JRubyContext()

Method Detail

afterRestoreback to summary
public void afterRestore(Context<? extends Resource> context) throws RestoreException

Implements abstract org.crac.Context.afterRestore.

Implements org.crac.Resource.afterRestore.

Doc from org.crac.Resource.afterRestore.

Invoked by a Context as a notification about restore.

Parameters
context:Context<? extends Resource>

Context providing notification

Annotations
@Override
beforeCheckpointback to summary
public void beforeCheckpoint(Context<? extends Resource> context) throws CheckpointException

Implements abstract org.crac.Context.beforeCheckpoint.

Implements org.crac.Resource.beforeCheckpoint.

Doc from org.crac.Resource.beforeCheckpoint.

Invoked by a Context as a notification about checkpoint.

Parameters
context:Context<? extends Resource>

Context providing notification

Annotations
@Override
registerback to summary
public void register(Resource resource)

Implements abstract org.crac.Context.register.

Doc from org.crac.Context.register.

Registers a Resource with this Context.

Parameters
resource:Resource

Resource to be registered.

Annotations
@Override