Skip navigation links
A C D E F G I J L M N O P R S T 

A

append(String) - Method in interface org.apache.twill.filesystem.Location
Appends the child to the current Location.
APPLICATION_CLASSPATH - Static variable in class org.apache.twill.internal.Constants.Files
 
APPLICATION_JAR - Static variable in class org.apache.twill.internal.Constants.Files
 
APPLICATION_MAX_START_SECONDS - Static variable in class org.apache.twill.internal.Constants
Maximum number of seconds for AM to start.
APPLICATION_MAX_STOP_SECONDS - Static variable in class org.apache.twill.internal.Constants
Maximum number of seconds for AM to stop.
ARGUMENTS - Static variable in class org.apache.twill.internal.Constants.Files
 

C

cancel() - Method in interface org.apache.twill.common.Cancellable
Attempts to cancel execution of this task.
Cancellable - Interface in org.apache.twill.common
Something, usually a task, that can be cancelled.
CLASSPATH - Static variable in class org.apache.twill.internal.Constants.Files
 
Constants - Class in org.apache.twill.internal
This class contains collection of common constants used in Twill.
Constants.Files - Class in org.apache.twill.internal
Constants for names of internal files that are shared between client, AM and containers.
CONSTRAINED_PROVISION_REQUEST_TIMEOUT - Static variable in class org.apache.twill.internal.Constants
Milliseconds AM should wait for RM to allocate a constrained provision request.
create(String) - Method in class org.apache.twill.filesystem.LocalLocationFactory
 
create(URI) - Method in class org.apache.twill.filesystem.LocalLocationFactory
 
create(String) - Method in interface org.apache.twill.filesystem.LocationFactory
Creates an instance of Location of the given path.
create(URI) - Method in interface org.apache.twill.filesystem.LocationFactory
Creates an instance of Location based on URI uri.
createDaemonThreadFactory(String) - Static method in class org.apache.twill.common.Threads
Handy method to create ThreadFactory that creates daemon threads with the given name format.
createNew() - Method in interface org.apache.twill.filesystem.Location
Atomically creates a new, empty file named by this abstract pathname if and only if a file with this name does not yet exist.
createNew(String) - Method in interface org.apache.twill.filesystem.Location
Atomically creates a new, empty file named by this abstract pathname if and only if a file with this name does not yet exist.
CREDENTIALS - Static variable in class org.apache.twill.internal.Constants.Files
 

D

delete() - Method in interface org.apache.twill.filesystem.Location
Deletes the file or directory denoted by this abstract pathname.
delete(boolean) - Method in interface org.apache.twill.filesystem.Location
Deletes the file or directory denoted by this abstract pathname.
DISCOVERY_PATH_PREFIX - Static variable in class org.apache.twill.internal.Constants
Common ZK paths constants.

E

ENVIRONMENTS - Static variable in class org.apache.twill.internal.Constants.Files
 
exists() - Method in interface org.apache.twill.filesystem.Location
Checks if the this location exists.

F

ForwardingLocationFactory - Class in org.apache.twill.filesystem
 
ForwardingLocationFactory(LocationFactory) - Constructor for class org.apache.twill.filesystem.ForwardingLocationFactory
 

G

getDelegate() - Method in class org.apache.twill.filesystem.ForwardingLocationFactory
 
getGroup() - Method in interface org.apache.twill.filesystem.Location
Returns the group of the location.
getHomeLocation() - Method in class org.apache.twill.filesystem.LocalLocationFactory
 
getHomeLocation() - Method in interface org.apache.twill.filesystem.LocationFactory
Returns the home location.
getInputStream() - Method in interface org.apache.twill.filesystem.Location
 
getLocationFactory() - Method in interface org.apache.twill.filesystem.Location
Returns the location factory used to create this instance.
getName() - Method in interface org.apache.twill.filesystem.Location
 
getOutputStream() - Method in interface org.apache.twill.filesystem.Location
 
getOutputStream(String) - Method in interface org.apache.twill.filesystem.Location
Creates an OutputStream for this location with the given permission.
getOwner() - Method in interface org.apache.twill.filesystem.Location
Returns the owner of the location.
getPermissions() - Method in interface org.apache.twill.filesystem.Location
Returns the permissions of this Location.
getTempFile(String) - Method in interface org.apache.twill.filesystem.Location
Returns unique location for temporary file to be placed near this location.

I

INSTANCES_PATH_PREFIX - Static variable in class org.apache.twill.internal.Constants
 
isDirectory() - Method in interface org.apache.twill.filesystem.Location
Checks if this location represents a directory.

J

JVM_OPTIONS - Static variable in class org.apache.twill.internal.Constants.Files
 

L

lastModified() - Method in interface org.apache.twill.filesystem.Location
 
LAUNCHER_JAR - Static variable in class org.apache.twill.internal.Constants.Files
 
length() - Method in interface org.apache.twill.filesystem.Location
 
list() - Method in interface org.apache.twill.filesystem.Location
List the locations under this location.
LOCALIZE_FILES - Static variable in class org.apache.twill.internal.Constants.Files
 
LocalLocationFactory - Class in org.apache.twill.filesystem
A LocationFactory for creating local file Location.
LocalLocationFactory() - Constructor for class org.apache.twill.filesystem.LocalLocationFactory
Constructs a LocalLocationFactory that Location created will be relative to system root.
LocalLocationFactory(File) - Constructor for class org.apache.twill.filesystem.LocalLocationFactory
 
Location - Interface in org.apache.twill.filesystem
This interface defines the location and operations of a resource on the filesystem.
LocationFactories - Class in org.apache.twill.filesystem
Provides helper methods for creating different LocationFactory.
LocationFactory - Interface in org.apache.twill.filesystem
Factory for creating instance of Location.
LOG_LEVELS - Static variable in class org.apache.twill.internal.Constants.Files
 
LOG_TOPIC - Static variable in class org.apache.twill.internal.Constants
 
LOGBACK_TEMPLATE - Static variable in class org.apache.twill.internal.Constants.Files
 

M

mkdirs() - Method in interface org.apache.twill.filesystem.Location
Creates the directory named by this abstract pathname, including any necessary but nonexistent parent directories.
mkdirs(String) - Method in interface org.apache.twill.filesystem.Location
Creates the directory named by this abstract pathname, including any necessary but nonexistent parent directories.

N

namespace(LocationFactory, String) - Static method in class org.apache.twill.filesystem.LocationFactories
Creates a LocationFactory that always applies the giving namespace prefix.

O

org.apache.twill.common - package org.apache.twill.common
 
org.apache.twill.filesystem - package org.apache.twill.filesystem
 
org.apache.twill.internal - package org.apache.twill.internal
 

P

PROVISION_TIMEOUT - Static variable in class org.apache.twill.internal.Constants
 

R

renameTo(Location) - Method in interface org.apache.twill.filesystem.Location
Moves the file or directory denoted by this abstract pathname.
RESOURCES_JAR - Static variable in class org.apache.twill.internal.Constants.Files
 
RESTART_ALL_RUNNABLE_INSTANCES - Static variable in class org.apache.twill.internal.Constants
Command names for the restart runnable instances.
RESTART_RUNNABLES_INSTANCES - Static variable in class org.apache.twill.internal.Constants
 
RUNTIME_CONFIG_JAR - Static variable in class org.apache.twill.internal.Constants.Files
 

S

SAME_THREAD_EXECUTOR - Static variable in class org.apache.twill.common.Threads
A executor that execute task from the submitter thread.
setGroup(String) - Method in interface org.apache.twill.filesystem.Location
Sets the group of the location.
setPermissions(String) - Method in interface org.apache.twill.filesystem.Location
Sets the permissions on this location.

T

TEMP_FILE_SUFFIX - Static variable in interface org.apache.twill.filesystem.Location
Suffix added to every temp file name generated with Location.getTempFile(String).
Threads - Class in org.apache.twill.common
 
toURI() - Method in interface org.apache.twill.filesystem.Location
 
TWILL_APP_NAME - Static variable in class org.apache.twill.internal.Constants
Constants for twill variable names.
TWILL_CONTAINER_CLASSLOADER - Static variable in class org.apache.twill.internal.Constants
Constant for the system property name that carries the class name for the container ClassLoader as defined by user.
TWILL_JAR - Static variable in class org.apache.twill.internal.Constants.Files
 
TWILL_SPEC - Static variable in class org.apache.twill.internal.Constants.Files
 
A C D E F G I J L M N O P R S T 
Skip navigation links

Copyright © 2013-2020 The Apache Software Foundation. All rights reserved.