- get() - Method in class org.apache.twill.api.Hosts
-
Get the list of hosts.
- get() - Method in class org.apache.twill.api.Racks
-
Get the list of racks.
- getActualInstances() - Method in class org.apache.twill.api.EventHandler.TimeoutEvent
-
- getApplicationArguments() - Method in interface org.apache.twill.api.TwillContext
-
- getApplicationId() - Method in interface org.apache.twill.api.ResourceReport
-
Get the id of the application master.
- getApplicationName() - Method in interface org.apache.twill.api.TwillRunner.LiveInfo
-
Returns name of the application.
- getApplicationRunId() - Method in interface org.apache.twill.api.TwillContext
-
Returns the
RunId of this running application.
- getAppMasterResources() - Method in interface org.apache.twill.api.ResourceReport
-
Get the resources application master is using.
- getArgument(String) - Method in class org.apache.twill.api.AbstractTwillRunnable
-
- getArguments() - Method in class org.apache.twill.api.AbstractTwillRunnable
-
- getArguments() - Method in interface org.apache.twill.api.TwillContext
-
Returns the runtime arguments that are passed to the
TwillRunnable.
- getCause() - Method in interface org.apache.twill.api.logging.LogThrowable
-
- getClassName() - Method in interface org.apache.twill.api.EventHandlerSpecification
-
- getClassName() - Method in interface org.apache.twill.api.logging.LogThrowable
-
Returns the name of the Throwable class.
- getClassName() - Method in interface org.apache.twill.api.TwillRunnableSpecification
-
- getCommand() - Method in interface org.apache.twill.api.Command
-
- getConfigs() - Method in class org.apache.twill.api.EventHandler
-
Returns set of configurations available at runtime for access.
- getConfigs() - Method in interface org.apache.twill.api.EventHandlerSpecification
-
- getConfigs() - Method in interface org.apache.twill.api.TwillRunnableSpecification
-
- getContainerId() - Method in interface org.apache.twill.api.TwillRunResources
-
- getContext() - Method in class org.apache.twill.api.AbstractTwillRunnable
-
- getControllers() - Method in interface org.apache.twill.api.TwillRunner.LiveInfo
-
- getCores() - Method in interface org.apache.twill.api.ResourceSpecification
-
Deprecated.
- getDebugPort() - Method in interface org.apache.twill.api.TwillRunResources
-
- getDownlink() - Method in interface org.apache.twill.api.ResourceSpecification
-
Returns the downlink bandwidth in Mbps.
- getEventHandler() - Method in interface org.apache.twill.api.TwillSpecification
-
- getExpectedInstances() - Method in class org.apache.twill.api.EventHandler.TimeoutEvent
-
- getFileName() - Method in interface org.apache.twill.api.logging.LogEntry
-
Returns the source file name where the log emitted.
- getHost() - Method in interface org.apache.twill.api.logging.LogEntry
-
Returns hostname of where the log emitted.
- getHost() - Method in interface org.apache.twill.api.TwillContext
-
Returns the hostname that the runnable is running on.
- getHost() - Method in interface org.apache.twill.api.TwillRunResources
-
- getHosts() - Method in interface org.apache.twill.api.TwillSpecification.PlacementPolicy
-
- getId() - Method in interface org.apache.twill.api.RunId
-
- getInstanceCount() - Method in interface org.apache.twill.api.TwillContext
-
Returns the number of running instances assigned for this
TwillRunnable.
- getInstanceId() - Method in interface org.apache.twill.api.TwillContext
-
Returns an integer id from 0 to (instanceCount - 1).
- getInstanceId() - Method in interface org.apache.twill.api.TwillRunResources
-
- getInstances() - Method in interface org.apache.twill.api.ResourceSpecification
-
Returns number of execution instances.
- getLastModified() - Method in interface org.apache.twill.api.LocalFile
-
Returns the the last modified time of the file or -1 if unknown.
- getLineNumber() - Method in interface org.apache.twill.api.logging.LogEntry
-
Returns the line number in the source file where the log emitted.
- getLocalFiles() - Method in interface org.apache.twill.api.RuntimeSpecification
-
- getLoggerName() - Method in interface org.apache.twill.api.logging.LogEntry
-
Returns name of the logger.
- getLogLevel() - Method in interface org.apache.twill.api.logging.LogEntry
-
- getLogLevel() - Method in interface org.apache.twill.api.TwillRunResources
-
- getMaxMemoryMB() - Method in interface org.apache.twill.api.TwillContext
-
Returns the amount of memory in MB the runnable is allowed to use.
- getMemoryMB() - Method in interface org.apache.twill.api.TwillRunResources
-
- getMemorySize() - Method in interface org.apache.twill.api.ResourceSpecification
-
Returns the memory size in MB.
- getMessage() - Method in interface org.apache.twill.api.logging.LogEntry
-
Returns the log message.
- getMessage() - Method in interface org.apache.twill.api.logging.LogThrowable
-
Returns the message contained inside the Throwable.
- getName() - Method in interface org.apache.twill.api.LocalFile
-
- getName() - Method in interface org.apache.twill.api.RuntimeSpecification
-
- getName() - Method in interface org.apache.twill.api.TwillRunnableSpecification
-
- getName() - Method in interface org.apache.twill.api.TwillSpecification
-
- getNames() - Method in interface org.apache.twill.api.TwillSpecification.Order
-
- getNames() - Method in interface org.apache.twill.api.TwillSpecification.PlacementPolicy
-
- getOptions() - Method in interface org.apache.twill.api.Command
-
- getOrders() - Method in interface org.apache.twill.api.TwillSpecification
-
- getPattern() - Method in interface org.apache.twill.api.LocalFile
-
- getPlacementPolicies() - Method in interface org.apache.twill.api.TwillSpecification
-
- getRacks() - Method in interface org.apache.twill.api.TwillSpecification.PlacementPolicy
-
- getRequestTime() - Method in class org.apache.twill.api.EventHandler.TimeoutEvent
-
- getResourceReport() - Method in interface org.apache.twill.api.TwillController
-
Get a snapshot of the resources used by the application, broken down by each runnable.
- getResources() - Method in interface org.apache.twill.api.ResourceReport
-
Get all the run resources being used across all runnables.
- getResourceSpecification() - Method in interface org.apache.twill.api.RuntimeSpecification
-
- getRunId() - Method in interface org.apache.twill.api.ServiceController
-
Returns the
RunId of the running application.
- getRunId() - Method in interface org.apache.twill.api.TwillContext
-
- getRunnableName() - Method in class org.apache.twill.api.EventHandler.TimeoutEvent
-
- getRunnableName() - Method in interface org.apache.twill.api.logging.LogEntry
-
Returns the runnable name.
- getRunnableResources(String) - Method in interface org.apache.twill.api.ResourceReport
-
Get all the run resources being used by all instances of the specified runnable.
- getRunnables() - Method in interface org.apache.twill.api.TwillSpecification
-
- getRunnableSpecification() - Method in interface org.apache.twill.api.RuntimeSpecification
-
- getServices() - Method in interface org.apache.twill.api.ResourceReport
-
Get the list of services of the application master.
- getSize() - Method in interface org.apache.twill.api.LocalFile
-
Returns the size of the file or -1 if unknown.
- getSourceClassName() - Method in interface org.apache.twill.api.logging.LogEntry
-
Returns the class name where the log emitted.
- getSourceMethodName() - Method in interface org.apache.twill.api.logging.LogEntry
-
Returns the method name where the log emitted.
- getSpecification() - Method in interface org.apache.twill.api.EventHandlerContext
-
- getSpecification() - Method in interface org.apache.twill.api.TwillContext
-
- getStackTraces() - Method in interface org.apache.twill.api.logging.LogEntry
-
- getStackTraces() - Method in interface org.apache.twill.api.logging.LogThrowable
-
Returns the stack trace of the Throwable.
- getStore() - Method in interface org.apache.twill.api.SecureStore
-
- getThreadName() - Method in interface org.apache.twill.api.logging.LogEntry
-
Returns the name of the thread where the log emitted.
- getThrowable() - Method in interface org.apache.twill.api.logging.LogEntry
-
Returns the
Throwable information emitted with the log.
- getTimeout() - Method in class org.apache.twill.api.EventHandler.TimeoutAction
-
Returns timeout in milliseconds or -1 if to abort the application.
- getTimestamp() - Method in interface org.apache.twill.api.logging.LogEntry
-
Returns timestamp of the log.
- getType() - Method in interface org.apache.twill.api.TwillSpecification.Order
-
- getType() - Method in interface org.apache.twill.api.TwillSpecification.PlacementPolicy
-
- getUplink() - Method in interface org.apache.twill.api.ResourceSpecification
-
Returns the uplink bandwidth in Mbps.
- getURI() - Method in interface org.apache.twill.api.LocalFile
-
- getVirtualCores() - Method in interface org.apache.twill.api.ResourceSpecification
-
Returns the number of virtual CPU cores.
- getVirtualCores() - Method in interface org.apache.twill.api.TwillContext
-
Returns the number of virtual cores the runnable is allowed to use.
- getVirtualCores() - Method in interface org.apache.twill.api.TwillRunResources
-