A C D E F G I L M N O R S T 

A

append(String) - Method in interface org.apache.twill.filesystem.Location
Appends the child to the current Location.

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.
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.

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.

E

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
 
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.
getTempFile(String) - Method in interface org.apache.twill.filesystem.Location
Returns unique location for temporary file to be placed near this location.

I

isDirectory() - Method in interface org.apache.twill.filesystem.Location
Checks if this location represents a directory.

L

lastModified() - Method in interface org.apache.twill.filesystem.Location
 
length() - Method in interface org.apache.twill.filesystem.Location
 
list() - Method in interface org.apache.twill.filesystem.Location
List the locations under this location.
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
Providers helper methods for creating different LocationFactory.
LocationFactory - Interface in org.apache.twill.filesystem
Factory for creating instance of Location.

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.

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
 

R

renameTo(Location) - Method in interface org.apache.twill.filesystem.Location
Moves the file or directory denoted by this abstract pathname.

S

SAME_THREAD_EXECUTOR - Static variable in class org.apache.twill.common.Threads
A executor that execute task from the submitter thread.

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
 
A C D E F G I L M N O R S T 

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