Package | Description |
---|---|
org.ogf.saga.attributes |
There are various places in the SAGA API where attributes need to be
associated with objects, for instance for job descriptions and
metrics.
|
org.ogf.saga.buffer |
This package provides the
Buffer
interface. |
org.ogf.saga.file |
This package provides classes to manipulate the contents of directories
or files.
|
org.ogf.saga.isn |
Provides interfaces to retrieve data from an information model.
|
org.ogf.saga.job |
The job package describes the API for submitting jobs to a grid resource.
|
org.ogf.saga.logicalfile |
This package provides classes to interact with replica systems.
|
org.ogf.saga.monitoring |
The monitoring package defines the
Monitorable interface,
which must be implemented by monitorable SAGA objects, and also
defines the
Steerable interface,
which extends the monitoring mechanism with the ability to push
values back to the monitored entity. |
org.ogf.saga.namespace |
This package provides classes to manipulate namespaces.
|
org.ogf.saga.permissions |
The permissions package provides the interface
Permissions
to query and set
permissions on Saga objects, such as files or streams. |
org.ogf.saga.resource |
This package provides classes to manage resources on remote grid/cloud systems.
|
org.ogf.saga.resource.instance |
This package provides resources interfaces.
|
org.ogf.saga.resource.manager |
This package provides the Resource Manager class.
|
org.ogf.saga.rpc |
The methods of the SAGA RPC package map with the methods as defined in
the GridRPC specification, as described in GFD.52, at least semantically,
with slight modifications for SAGA look and feel, SAGA error conventions,
SAGA task model, et cetera.
|
org.ogf.saga.sd |
This API provides a mechanism to locate services.
|
org.ogf.saga.stream |
The streams package provides a simple mechanism for setting up
connections to remote components.
|
org.ogf.saga.task |
This package provides classes and methods for manipulating tasks and
collections of tasks.
|
org.ogf.saga.url |
The methods of the SAGA URL package allow access to the parts of an URL.
|
Modifier and Type | Method and Description |
---|---|
String[] |
Attributes.findAttributes(String... patterns)
Finds matching attributes.
|
void |
Attributes.setAttribute(String key,
String value)
Sets an attribute to a value.
|
void |
Attributes.setVectorAttribute(String key,
String[] values)
Sets an attribute to an array of values.
|
Modifier and Type | Method and Description |
---|---|
static Buffer |
BufferFactory.createBuffer()
Creates a (implementation-managed) buffer.
|
static Buffer |
BufferFactory.createBuffer(byte[] data)
Creates a (application-allocated) buffer.
|
static Buffer |
BufferFactory.createBuffer(int size)
Creates a (implementation-managed) buffer of the specified size.
|
static Buffer |
BufferFactory.createBuffer(String sagaFactoryClassname)
Creates a (implementation-managed) buffer.
|
static Buffer |
BufferFactory.createBuffer(String sagaFactoryClassname,
byte[] data)
Creates a (application-allocated) buffer.
|
static Buffer |
BufferFactory.createBuffer(String sagaFactoryClassname,
int size)
Creates a (implementation-managed) buffer of the specified size.
|
protected abstract Buffer |
BufferFactory.doCreateBuffer(byte[] data)
Creates a buffer.
|
protected abstract Buffer |
BufferFactory.doCreateBuffer(int size)
Creates a buffer.
|
void |
Buffer.setData(byte[] data)
Sets the buffer data.
|
void |
Buffer.setSize()
Sets the size of the buffer.
|
void |
Buffer.setSize(int size)
Sets the size of the buffer.
|
Modifier and Type | Method and Description |
---|---|
static Directory |
FileFactory.createDirectory(Session session,
URL name)
Creates a Directory for reading.
|
static Directory |
FileFactory.createDirectory(Session session,
URL name,
int flags)
Creates a Directory.
|
static Directory |
FileFactory.createDirectory(String sagaFactoryClassname,
Session session,
URL name)
Creates a Directory for reading.
|
static Directory |
FileFactory.createDirectory(String sagaFactoryClassname,
Session session,
URL name,
int flags)
Creates a Directory.
|
static Directory |
FileFactory.createDirectory(String sagaFactoryClassname,
URL name)
Creates a Directory for reading, using the default session.
|
static Directory |
FileFactory.createDirectory(String sagaFactoryClassname,
URL name,
int flags)
Creates a Directory, using the default session.
|
static Directory |
FileFactory.createDirectory(URL name)
Creates a Directory for reading, using the default session.
|
static Directory |
FileFactory.createDirectory(URL name,
int flags)
Creates a Directory, using the default session.
|
static File |
FileFactory.createFile(Session session,
URL name)
Creates a File for reading.
|
static File |
FileFactory.createFile(Session session,
URL name,
int flags)
Creates a File.
|
static File |
FileFactory.createFile(String sagaFactoryClassname,
Session session,
URL name)
Creates a File for reading.
|
static File |
FileFactory.createFile(String sagaFactoryClassname,
Session session,
URL name,
int flags)
Creates a File.
|
static File |
FileFactory.createFile(String sagaFactoryClassname,
URL name)
Creates a File for reading, using the default session.
|
static File |
FileFactory.createFile(String sagaFactoryClassname,
URL name,
int flags)
Creates a File using the default session.
|
static File |
FileFactory.createFile(URL name)
Creates a File for reading, using the default session.
|
static File |
FileFactory.createFile(URL name,
int flags)
Creates a File using the default session.
|
static FileInputStream |
FileFactory.createFileInputStream(Session session,
URL name)
Creates a FileInputStream.
|
static FileInputStream |
FileFactory.createFileInputStream(String sagaFactoryClassname,
Session session,
URL name)
Creates a FileInputStream.
|
static FileInputStream |
FileFactory.createFileInputStream(String sagaFactoryClassname,
URL name)
Creates a FileInputStream using the default session.
|
static FileInputStream |
FileFactory.createFileInputStream(URL name)
Creates a FileInputStream using the default session.
|
static FileOutputStream |
FileFactory.createFileOutputStream(Session session,
URL name)
Creates a FileOutputStream.
|
static FileOutputStream |
FileFactory.createFileOutputStream(Session session,
URL name,
boolean append)
Creates a FileOutputStream.
|
static FileOutputStream |
FileFactory.createFileOutputStream(String sagaFactoryClassname,
Session session,
URL name)
Creates a FileOutputStream.
|
static FileOutputStream |
FileFactory.createFileOutputStream(String sagaFactoryClassname,
Session session,
URL name,
boolean append)
Creates a FileOutputStream.
|
static FileOutputStream |
FileFactory.createFileOutputStream(String sagaFactoryClassname,
URL name)
Creates a FileOutputStream using the default session.
|
static FileOutputStream |
FileFactory.createFileOutputStream(String sagaFactoryClassname,
URL name,
boolean append)
Creates a FileOutputStream using the default session.
|
static FileOutputStream |
FileFactory.createFileOutputStream(URL name)
Creates a FileOutputStream using the default session.
|
static FileOutputStream |
FileFactory.createFileOutputStream(URL name,
boolean append)
Creates a FileOutputStream using the default session.
|
static IOVec |
FileFactory.createIOVec(byte[] data)
Creates an IOVec.
|
static IOVec |
FileFactory.createIOVec(byte[] data,
int lenIn)
Creates an IOVec.
|
static IOVec |
FileFactory.createIOVec(int size)
Creates an IOVec.
|
static IOVec |
FileFactory.createIOVec(int size,
int lenIn)
Creates an IOVec.
|
static IOVec |
FileFactory.createIOVec(String sagaFactoryClassname,
byte[] data)
Creates an IOVec.
|
static IOVec |
FileFactory.createIOVec(String sagaFactoryClassname,
byte[] data,
int lenIn)
Creates an IOVec.
|
static IOVec |
FileFactory.createIOVec(String sagaFactoryClassname,
int size)
Creates an IOVec.
|
static IOVec |
FileFactory.createIOVec(String sagaFactoryClassname,
int size,
int lenIn)
Creates an IOVec.
|
protected abstract Directory |
FileFactory.doCreateDirectory(Session session,
URL name,
int flags)
Creates a Directory.
|
protected abstract File |
FileFactory.doCreateFile(Session session,
URL name,
int flags)
Creates a File.
|
protected abstract FileInputStream |
FileFactory.doCreateFileInputStream(Session session,
URL name)
Creates a FileInputStream.
|
protected abstract FileOutputStream |
FileFactory.doCreateFileOutputStream(Session session,
URL name,
boolean append)
Creates a FileOutputStream.
|
protected abstract IOVec |
FileFactory.doCreateIOVec(byte[] data,
int lenIn)
Creates an IOVec.
|
protected abstract IOVec |
FileFactory.doCreateIOVec(int size,
int lenIn)
Creates an IOVec.
|
long |
Directory.getSize(URL name)
Returns the number of bytes in the specified file.
|
long |
Directory.getSize(URL name,
int flags)
Returns the number of bytes in the specified file.
|
boolean |
Directory.isFile(URL name)
Tests the name for being a directory entry.
|
Directory |
Directory.openDirectory(URL name)
Creates a new
Directory instance. |
Directory |
Directory.openDirectory(URL name,
int flags)
Creates a new
Directory instance. |
File |
Directory.openFile(URL name)
Creates a new
File instance. |
File |
Directory.openFile(URL name,
int flags)
Creates a new
File instance. |
FileInputStream |
Directory.openFileInputStream(URL name)
Creates a new
FileInputStream instance. |
FileOutputStream |
Directory.openFileOutputStream(URL name)
Creates a new
FileOutputStream instance. |
FileOutputStream |
Directory.openFileOutputStream(URL name,
boolean append)
Creates a new
FileOutputStream instance. |
int |
File.read(Buffer buffer)
Reads up to the buffer's size from the file into the buffer.
|
int |
File.read(Buffer buffer,
int len)
Reads up to
len bytes from the file into the buffer. |
int |
File.read(Buffer buffer,
int offset,
int len)
Reads up to
len bytes from the file into the buffer, at
the specified offset . |
int |
File.readE(String emode,
String spec,
Buffer buffer)
Extended read.
|
int |
File.readP(String pattern,
Buffer buffer)
Pattern-based read.
|
void |
File.readV(IOVec[] iovecs)
Gather/scatter read.
|
void |
IOVec.setLenIn(int len)
Sets the lenIn attribute.
|
void |
IOVec.setOffset(int offset)
Sets the offset attribute.
|
int |
File.sizeE(String emode,
String spec)
Determines the storage size required for an extended I/O operation.
|
int |
File.sizeP(String pattern)
Determines the storage size required for a pattern I/O operation.
|
int |
File.write(Buffer buffer)
Writes up to the buffer's size bytes from the buffer to the file at the
current file position.
|
int |
File.write(Buffer buffer,
int len)
Writes up to
len bytes from the buffer to the file at the
current file position. |
int |
File.write(Buffer buffer,
int offset,
int len)
Writes up to
len bytes from the buffer at the specified
buffer offset to the file at the current file position. |
int |
File.writeE(String emode,
String spec,
Buffer buffer)
Extended write.
|
int |
File.writeP(String pattern,
Buffer buffer)
Pattern-based write.
|
void |
File.writeV(IOVec[] iovecs)
Gather/scatter write.
|
Modifier and Type | Method and Description |
---|---|
static EntityDataSet |
ISNFactory.createEntityDataSet(String model,
String entityName,
String filter)
Creates an
EntityDataSet that contains the set of entities
that pass the specified filter. |
static EntityDataSet |
ISNFactory.createEntityDataSet(String model,
String entityName,
String filter,
Session session)
Creates an
EntityDataSet that contains the set of entities
that pass the specified filter. |
static EntityDataSet |
ISNFactory.createEntityDataSet(String model,
String entityName,
String filter,
Session session,
URL infoSystemUrl)
Creates an
EntityDataSet that contains the set of entities
that pass the specified filter. |
static EntityDataSet |
ISNFactory.createEntityDataSet(String sagaFactoryClassname,
String model,
String entityName,
String filter)
Creates an
EntityDataSet that contains the set of entities
that pass the specified filter. |
static EntityDataSet |
ISNFactory.createEntityDataSet(String sagaFactoryClassname,
String model,
String entityName,
String filter,
Session session)
Creates an
EntityDataSet that contains the set of entities
that pass the specified filter. |
static EntityDataSet |
ISNFactory.createEntityDataSet(String sagaFactoryClassname,
String model,
String entityName,
String filter,
Session session,
URL infoSystemUrl)
Creates an
EntityDataSet that contains the set of entities
that pass the specified filter. |
protected abstract EntityDataSet |
ISNFactory.doCreateEntityDataSet(String model,
String entityName,
String filter,
Session session)
Creates a
EntityDataSet with the default URL . |
protected abstract EntityDataSet |
ISNFactory.doCreateEntityDataSet(String model,
String entityName,
String filter,
Session session,
URL infoSystemUrl)
Creates a
EntityDataSet . |
EntityDataSet |
EntityDataSet.getRelatedEntities(String relatedName)
Returns an
EntityDataSet object for the given entity name. |
EntityDataSet |
EntityDataSet.getRelatedEntities(String relatedName,
String filter)
Returns an
EntityDataSet object for the given entity name
and matching the filter string. |
Modifier and Type | Method and Description |
---|---|
Job |
JobService.createJob(JobDescription jd)
Creates a job instance as specified by the job description provided.
|
static JobService |
JobFactory.createJobService()
Creates a job service, using the default session and default contact
string.
|
static JobService |
JobFactory.createJobService(Session session)
Creates a job service using the default contact string.
|
static JobService |
JobFactory.createJobService(Session session,
URL rm)
Creates a job service.
|
static JobService |
JobFactory.createJobService(String sagaFactoryClassname)
Creates a job service, using the default session and default contact
string.
|
static JobService |
JobFactory.createJobService(String sagaFactoryClassname,
Session session)
Creates a job service using the default contact string.
|
static JobService |
JobFactory.createJobService(String sagaFactoryClassname,
Session session,
URL rm)
Creates a job service.
|
static JobService |
JobFactory.createJobService(String sagaFactoryClassname,
URL rm)
Creates a job service, using the default session.
|
static JobService |
JobFactory.createJobService(URL rm)
Creates a job service, using the default session.
|
protected abstract JobService |
JobFactory.doCreateJobService(Session session,
URL rm)
Creates a job service.
|
Job |
JobService.getJob(String jobId)
Returns the job instance associated with the specified job
identification.
|
InputStream |
Job.getStderr()
Returns the error stream of this job (which can be read).
|
OutputStream |
Job.getStdin()
Returns the input stream of this job (to which can be written).
|
InputStream |
Job.getStdout()
Returns the output stream of this job (which can be read).
|
void |
Job.migrate(JobDescription jd)
Asks the resource manager to migrate a job.
|
Job |
JobService.runJob(String commandLine)
Runs the specified command, non-interactively, on a host chosen by the
implementation.
|
Job |
JobService.runJob(String commandLine,
boolean interactive)
Runs the specified command on a host chosen by the implementation.
|
Job |
JobService.runJob(String commandLine,
String host)
Runs the specified command, non-interactively, on the specified host.
|
Job |
JobService.runJob(String commandLine,
String host,
boolean interactive)
Runs the specified command on the specified host.
|
void |
Job.signal(int signum)
Asks the resource manager to deliver an arbitrary signal to a dispatched
job.
|
Modifier and Type | Method and Description |
---|---|
void |
LogicalFile.addLocation(URL name)
Adds a replica location to the replica set.
|
static LogicalDirectory |
LogicalFileFactory.createLogicalDirectory(Session session,
URL name)
Creates a LogicalDirectory using READ open mode.
|
static LogicalDirectory |
LogicalFileFactory.createLogicalDirectory(Session session,
URL name,
int flags)
Creates a LogicalDirectory.
|
static LogicalDirectory |
LogicalFileFactory.createLogicalDirectory(String sagaFactoryClassname,
Session session,
URL name)
Creates a LogicalDirectory using READ open mode.
|
static LogicalDirectory |
LogicalFileFactory.createLogicalDirectory(String sagaFactoryClassname,
Session session,
URL name,
int flags)
Creates a LogicalDirectory.
|
static LogicalDirectory |
LogicalFileFactory.createLogicalDirectory(String sagaFactoryClassname,
URL name)
Creates a LogicalDirectory using READ open mode, using the default
session.
|
static LogicalDirectory |
LogicalFileFactory.createLogicalDirectory(String sagaFactoryClassname,
URL name,
int flags)
Creates a LogicalDirectory using the default session.
|
static LogicalDirectory |
LogicalFileFactory.createLogicalDirectory(URL name)
Creates a LogicalDirectory using READ open mode, using the default
session.
|
static LogicalDirectory |
LogicalFileFactory.createLogicalDirectory(URL name,
int flags)
Creates a LogicalDirectory using the default session.
|
static LogicalFile |
LogicalFileFactory.createLogicalFile(Session session,
URL name)
Creates a LogicalFile using READ open mode.
|
static LogicalFile |
LogicalFileFactory.createLogicalFile(Session session,
URL name,
int flags)
Creates a LogicalFile.
|
static LogicalFile |
LogicalFileFactory.createLogicalFile(String sagaFactoryClassname,
Session session,
URL name)
Creates a LogicalFile using READ open mode.
|
static LogicalFile |
LogicalFileFactory.createLogicalFile(String sagaFactoryClassname,
Session session,
URL name,
int flags)
Creates a LogicalFile.
|
static LogicalFile |
LogicalFileFactory.createLogicalFile(String sagaFactoryClassname,
URL name)
Creates a LogicalFile using READ open mode, using the default session.
|
static LogicalFile |
LogicalFileFactory.createLogicalFile(String sagaFactoryClassname,
URL name,
int flags)
Creates a LogicalFile using the default session.
|
static LogicalFile |
LogicalFileFactory.createLogicalFile(URL name)
Creates a LogicalFile using READ open mode, using the default session.
|
static LogicalFile |
LogicalFileFactory.createLogicalFile(URL name,
int flags)
Creates a LogicalFile using the default session.
|
protected abstract LogicalDirectory |
LogicalFileFactory.doCreateLogicalDirectory(Session session,
URL name,
int flags)
Creates a Directory.
|
protected abstract LogicalFile |
LogicalFileFactory.doCreateLogicalFile(Session session,
URL name,
int flags)
Creates a LogicalFile.
|
List<URL> |
LogicalDirectory.find(String namePattern,
String[] attrPattern)
Finds entries in the current directory and below, with matching names and
matching meta data.
|
List<URL> |
LogicalDirectory.find(String namePattern,
String[] attrPattern,
int flags)
Finds entries in the current directory and possibly below, with matching
names and matching meta data.
|
boolean |
LogicalDirectory.isFile(URL name)
Tests the name for being a logical file.
|
LogicalDirectory |
LogicalDirectory.openLogicalDir(URL name)
Creates a new
LogicalDirectory instance with read flag. |
LogicalDirectory |
LogicalDirectory.openLogicalDir(URL name,
int flags)
Creates a new
LogicalDirectory instance. |
LogicalFile |
LogicalDirectory.openLogicalFile(URL name)
Creates a new
LogicalFile instance with read flag. |
LogicalFile |
LogicalDirectory.openLogicalFile(URL name,
int flags)
Creates a new
LogicalFile instance. |
void |
LogicalFile.removeLocation(URL name)
Removes a replica location from the replica set.
|
void |
LogicalFile.replicate(URL name)
Replicates a file from any of the known locations to a new location, with
default flags NONE.
|
void |
LogicalFile.replicate(URL name,
int flags)
Replicates a file from any of the known locations to a new location.
|
void |
LogicalFile.updateLocation(URL nameOld,
URL nameNew)
Changes a replica location in the replica set.
|
Modifier and Type | Method and Description |
---|---|
static Metric |
MonitoringFactory.createMetric(String name,
String desc,
String mode,
String unit,
String type,
String value)
Constructs a
Metric object with the specified parameters. |
static Metric |
MonitoringFactory.createMetric(String sagaFactoryClassname,
String name,
String desc,
String mode,
String unit,
String type,
String value)
Constructs a
Metric object with the specified parameters. |
protected abstract Metric |
MonitoringFactory.doCreateMetric(String name,
String desc,
String mode,
String unit,
String type,
String value)
Constructs a
Metric object with the specified parameters. |
void |
Metric.removeCallback(int cookie)
Removes a callback from the metric.
|
void |
Monitorable.removeCallback(String name,
int cookie)
Removes the specified callback.
|
Modifier and Type | Method and Description |
---|---|
void |
NSDirectory.changeDir(URL dir)
Changes the working directory.
|
void |
NSDirectory.copy(String source,
URL target)
Copies the source entry to another part of the namespace.
|
void |
NSDirectory.copy(String source,
URL target,
int flags)
Copies the source entry to another part of the namespace.
|
void |
NSEntry.copy(URL target)
Copies this entry to another part of the namespace.
|
void |
NSEntry.copy(URL target,
int flags)
Copies this entry to another part of the namespace.
|
void |
NSDirectory.copy(URL source,
URL target)
Copies the source entry to another part of the namespace.
|
void |
NSDirectory.copy(URL source,
URL target,
int flags)
Copies the source entry to another part of the namespace.
|
static NSDirectory |
NSFactory.createNSDirectory(Session session,
URL name)
Creates a namespace directory.
|
static NSDirectory |
NSFactory.createNSDirectory(Session session,
URL name,
int flags)
Creates a namespace directory.
|
static NSDirectory |
NSFactory.createNSDirectory(String sagaFactoryClassname,
Session session,
URL name)
Creates a namespace directory.
|
static NSDirectory |
NSFactory.createNSDirectory(String sagaFactoryClassname,
Session session,
URL name,
int flags)
Creates a namespace directory.
|
static NSDirectory |
NSFactory.createNSDirectory(String sagaFactoryClassname,
URL name)
Creates a namespace directory using the default session.
|
static NSDirectory |
NSFactory.createNSDirectory(String sagaFactoryClassname,
URL name,
int flags)
Creates a namespace directory using the default session.
|
static NSDirectory |
NSFactory.createNSDirectory(URL name)
Creates a namespace directory using the default session.
|
static NSDirectory |
NSFactory.createNSDirectory(URL name,
int flags)
Creates a namespace directory using the default session.
|
static NSEntry |
NSFactory.createNSEntry(Session session,
URL name)
Creates a namespace entry.
|
static NSEntry |
NSFactory.createNSEntry(Session session,
URL name,
int flags)
Creates a namespace entry.
|
static NSEntry |
NSFactory.createNSEntry(String sagaFactoryClassname,
Session session,
URL name)
Creates a namespace entry.
|
static NSEntry |
NSFactory.createNSEntry(String sagaFactoryClassname,
Session session,
URL name,
int flags)
Creates a namespace entry.
|
static NSEntry |
NSFactory.createNSEntry(String sagaFactoryClassname,
URL name)
Creates a namespace entry using the default session.
|
static NSEntry |
NSFactory.createNSEntry(String sagaFactoryClassname,
URL name,
int flags)
Creates a namespace entry using the default session.
|
static NSEntry |
NSFactory.createNSEntry(URL name)
Creates a namespace entry using the default session.
|
static NSEntry |
NSFactory.createNSEntry(URL name,
int flags)
Creates a namespace entry using the default session.
|
protected abstract NSDirectory |
NSFactory.doCreateNSDirectory(Session session,
URL name,
int flags)
Creates a namespace directory.
|
protected abstract NSEntry |
NSFactory.doCreateNSEntry(Session session,
URL name,
int flags)
Creates a namespace entry.
|
boolean |
NSDirectory.exists(URL name)
Queries for the existence of an entry.
|
List<URL> |
NSDirectory.find(String pattern)
Finds entries in the directory and below that match the specified
pattern.
|
List<URL> |
NSDirectory.find(String pattern,
int flags)
Finds entries in the directory and below that match the specified
pattern.
|
long |
NSDirectory.getMTime(URL name)
Returns the time of the last modification in seconds since epoch
(01.01.1970) of the specified name.
|
boolean |
NSDirectory.isDir(URL name)
Tests the name for being a directory.
|
boolean |
NSDirectory.isEntry(URL name)
Tests the name for being a namespace entry.
|
boolean |
NSDirectory.isLink(URL name)
Tests the name for being a link.
|
void |
NSDirectory.link(String source,
URL target)
Creates a symbolic link from the specified target to the specified
source.
|
void |
NSDirectory.link(String source,
URL target,
int flags)
Creates a symbolic link from the specified target to the specified
source.
|
void |
NSEntry.link(URL target)
Creates a symbolic link from the target to this entry.
|
void |
NSEntry.link(URL target,
int flags)
Creates a symbolic link from the target to this entry.
|
void |
NSDirectory.link(URL source,
URL target)
Creates a symbolic link from the specified target to the specified
source.
|
void |
NSDirectory.link(URL source,
URL target,
int flags)
Creates a symbolic link from the specified target to the specified
source.
|
List<URL> |
NSDirectory.list()
Lists entries in the directory.
|
List<URL> |
NSDirectory.list(int flags)
Lists entries in the directory.
|
List<URL> |
NSDirectory.list(String pattern)
Lists entries in the directory that match the specified pattern.
|
List<URL> |
NSDirectory.list(String pattern,
int flags)
Lists entries in the directory that match the specified pattern.
|
void |
NSDirectory.makeDir(URL target)
Creates a new directory.
|
void |
NSDirectory.makeDir(URL target,
int flags)
Creates a new directory.
|
void |
NSDirectory.move(String source,
URL target)
Renames the specified source to the specified target, or move the
specified source to the specified target if the target is a directory.
|
void |
NSDirectory.move(String source,
URL target,
int flags)
Renames the specified source to the specified target, or move the
specified source to the specified target if the target is a directory.
|
void |
NSEntry.move(URL target)
Renames this entry to the target, or moves this entry to the target if it
is a directory.
|
void |
NSEntry.move(URL target,
int flags)
Renames this entry to the target, or moves this entry to the target if it
is a directory.
|
void |
NSDirectory.move(URL source,
URL target)
Renames the specified source to the specified target, or move the
specified source to the specified target if the target is a directory.
|
void |
NSDirectory.move(URL source,
URL target,
int flags)
Renames the specified source to the specified target, or move the
specified source to the specified target if the target is a directory.
|
NSEntry |
NSDirectory.open(URL name)
Creates a new
NamespaceEntry instance. |
NSEntry |
NSDirectory.open(URL name,
int flags)
Creates a new
NamespaceEntry instance. |
NSDirectory |
NSDirectory.openDir(URL name)
Creates a new
NamespaceDirectory instance. |
NSDirectory |
NSDirectory.openDir(URL name,
int flags)
Creates a new
NamespaceDirectory instance. |
void |
NSEntry.permissionsAllow(String id,
int permissions,
int flags)
Allows the specified permissions for the specified id.
|
void |
NSDirectory.permissionsAllow(String target,
String id,
int permissions)
Allows the specified permissions for the specified id.
|
void |
NSDirectory.permissionsAllow(String target,
String id,
int permissions,
int flags)
Allows the specified permissions for the specified id.
|
void |
NSDirectory.permissionsAllow(URL target,
String id,
int permissions)
Allows the specified permissions for the specified id.
|
void |
NSDirectory.permissionsAllow(URL target,
String id,
int permissions,
int flags)
Allows the specified permissions for the specified id.
|
void |
NSEntry.permissionsDeny(String id,
int permissions,
int flags)
Denies the specified permissions for the specified id.
|
void |
NSDirectory.permissionsDeny(String target,
String id,
int permissions)
Denies the specified permissions for the specified id.
|
void |
NSDirectory.permissionsDeny(String target,
String id,
int permissions,
int flags)
Denies the specified permissions for the specified id.
|
void |
NSDirectory.permissionsDeny(URL target,
String id,
int permissions)
Denies the specified permissions for the specified id.
|
void |
NSDirectory.permissionsDeny(URL target,
String id,
int permissions,
int flags)
Denies the specified permissions for the specified id.
|
URL |
NSDirectory.readLink(URL name)
Returns the URL representing the link target.
|
void |
NSEntry.remove()
Removes this entry and closes it.
|
void |
NSEntry.remove(int flags)
Removes this entry and closes it.
|
void |
NSDirectory.remove(String target)
Removes the specified entry.
|
void |
NSDirectory.remove(String target,
int flags)
Removes the specified entry.
|
void |
NSDirectory.remove(URL target)
Removes the specified entry.
|
void |
NSDirectory.remove(URL target,
int flags)
Removes the specified entry.
|
Modifier and Type | Method and Description |
---|---|
void |
Permissions.permissionsAllow(String id,
int permissions)
Allows the specified permissions for the specified id.
|
boolean |
Permissions.permissionsCheck(String id,
int permissions)
Determines if the specified permissions are enabled for the specified id.
|
void |
Permissions.permissionsDeny(String id,
int permissions)
Denies the specified permissions for the specified id.
|
Modifier and Type | Method and Description |
---|---|
static ResourceDescription |
ResourceFactory.createResourceDescription(String sagaFactoryClassname,
Type type)
Creates a resource description.
|
static ResourceDescription |
ResourceFactory.createResourceDescription(Type type)
Creates a resource description.
|
static ResourceManager |
ResourceFactory.createResourceManager()
Creates a resource manager, using the default session and default contact
string.
|
static ResourceManager |
ResourceFactory.createResourceManager(Session session)
Creates a resource manager using the default contact string.
|
static ResourceManager |
ResourceFactory.createResourceManager(Session session,
URL rm)
Creates a resource manager.
|
static ResourceManager |
ResourceFactory.createResourceManager(String sagaFactoryClassname)
Creates a resource manager, using the default session and default contact
string.
|
static ResourceManager |
ResourceFactory.createResourceManager(String sagaFactoryClassname,
Session session)
Creates a resource manager using the default contact string.
|
static ResourceManager |
ResourceFactory.createResourceManager(String sagaFactoryClassname,
Session session,
URL rm)
Creates a resource manager.
|
static ResourceManager |
ResourceFactory.createResourceManager(String sagaFactoryClassname,
URL rm)
Creates a resource manager, using the default session.
|
static ResourceManager |
ResourceFactory.createResourceManager(URL rm)
Creates a resource manager, using the default session.
|
protected abstract ResourceManager |
ResourceFactory.doCreateResourceManager(Session session,
URL rm)
Creates a resource manager.
|
Modifier and Type | Method and Description |
---|---|
void |
Resource.reconfigure(RD description)
Reconfigure
|
Modifier and Type | Method and Description |
---|---|
Compute |
ResourceManager.acquireCompute(ComputeDescription description)
Acquire compute resource matching from requirements
|
Compute |
ResourceManager.acquireCompute(String id)
Return resource handle for some known compute resource.
|
Network |
ResourceManager.acquireNetwork(NetworkDescription description)
Acquire network resource matching from requirements
|
Network |
ResourceManager.acquireNetwork(String id)
Return resource handle for some known network resource.
|
Storage |
ResourceManager.acquireStorage(StorageDescription description)
Acquire storage resource matching from requirements
|
Storage |
ResourceManager.acquireStorage(String id)
Return resource handle for some known storage resource.
|
ResourceDescription |
ResourceManager.getTemplate(String id)
Human readable description of template
|
void |
ResourceManager.releaseCompute(String id)
Close compute resource, even if it is not drained.
|
void |
ResourceManager.releaseCompute(String id,
boolean drain)
Close compute resource
|
void |
ResourceManager.releaseNetwork(String id)
Close network resource
|
void |
ResourceManager.releaseStorage(String id)
Close storage resource
|
Modifier and Type | Method and Description |
---|---|
void |
RPC.call(Parameter... parameters)
Calls the remote procedure.
|
static Parameter |
RPCFactory.createParameter()
Creates an IN Parameter object.
|
static Parameter |
RPCFactory.createParameter(IOMode mode)
Creates a Parameter object.
|
static Parameter |
RPCFactory.createParameter(Object data)
Creates an IN Parameter object.
|
static Parameter |
RPCFactory.createParameter(Object data,
IOMode mode)
Creates a Parameter object.
|
static Parameter |
RPCFactory.createParameter(String sagaFactoryClassname)
Creates an IN Parameter object.
|
static Parameter |
RPCFactory.createParameter(String sagaFactoryClassname,
IOMode mode)
Creates a Parameter object.
|
static Parameter |
RPCFactory.createParameter(String sagaFactoryClassname,
Object data)
Creates an IN Parameter object.
|
static Parameter |
RPCFactory.createParameter(String sagaFactoryClassname,
Object data,
IOMode mode)
Creates a Parameter object.
|
static RPC |
RPCFactory.createRPC(Session session,
URL funcname)
Creates a RPC handle instance.
|
static RPC |
RPCFactory.createRPC(String sagaFactoryClassname,
Session session,
URL funcname)
Creates a RPC handle instance.
|
static RPC |
RPCFactory.createRPC(String sagaFactoryClassname,
URL funcname)
Creates a RPC handle instance using the default session.
|
static RPC |
RPCFactory.createRPC(URL funcname)
Creates a RPC handle instance using the default session.
|
protected abstract Parameter |
RPCFactory.doCreateParameter(Object data,
IOMode mode)
Creates a Parameter object.
|
protected abstract RPC |
RPCFactory.doCreateRPC(Session session,
URL funcname)
Creates a RPC handle instance.
|
Modifier and Type | Method and Description |
---|---|
List<ServiceDescription> |
Discoverer.listServices(String serviceFilter,
String dataFilter)
Returns the set of services that pass the set of specified filters, an
implicit
authzFilter is constructed from the contexts of
the session. |
List<ServiceDescription> |
Discoverer.listServices(String serviceFilter,
String dataFilter,
String authzFilter)
Returns the set of services that pass the set of specified filters.
|
Modifier and Type | Method and Description |
---|---|
static Stream |
StreamFactory.createStream(Session session,
URL name)
Creates a Stream.
|
static Stream |
StreamFactory.createStream(String sagaFactoryClassname,
Session session,
URL name)
Creates a Stream.
|
static Stream |
StreamFactory.createStream(String sagaFactoryClassname,
URL name)
Creates a Stream using the default session.
|
static Stream |
StreamFactory.createStream(URL name)
Creates a Stream using the default session.
|
static StreamServer |
StreamFactory.createStreamServer()
Creates a StreamServer using the default session.
|
static StreamServer |
StreamFactory.createStreamServer(Session session)
Creates a StreamServer.
|
static StreamServer |
StreamFactory.createStreamServer(Session session,
URL name)
Creates a StreamServer.
|
static StreamServer |
StreamFactory.createStreamServer(String sagaFactoryClassname)
Creates a StreamServer using the default session.
|
static StreamServer |
StreamFactory.createStreamServer(String sagaFactoryClassname,
Session session)
Creates a StreamServer.
|
static StreamServer |
StreamFactory.createStreamServer(String sagaFactoryClassname,
Session session,
URL name)
Creates a StreamServer.
|
static StreamServer |
StreamFactory.createStreamServer(String sagaFactoryClassname,
URL name)
Creates a StreamServer using the default session.
|
static StreamServer |
StreamFactory.createStreamServer(URL name)
Creates a StreamServer using the default session.
|
protected abstract Stream |
StreamFactory.doCreateStream(Session session,
URL name)
Creates a Stream.
|
protected abstract StreamServer |
StreamFactory.doCreateStreamServer(Session session,
URL name)
Creates a StreamServer.
|
int |
Stream.read(Buffer buffer)
Reads a raw buffer from the stream.
|
int |
Stream.read(Buffer buffer,
int len)
Reads a raw buffer from the stream.
|
int |
Stream.write(Buffer buffer)
Writes a raw buffer to the stream.
|
int |
Stream.write(Buffer buffer,
int len)
Writes a raw buffer to the stream.
|
Modifier and Type | Method and Description |
---|---|
E |
Task.getResult()
Obtains the result of the asynchronous method call.
|
void |
Task.rethrow()
Throws any exception a failed task caught.
|
Modifier and Type | Method and Description |
---|---|
static URL |
URLFactory.createURL(String url)
Creates an URL object from the specified string.
|
static URL |
URLFactory.createURL(String sagaFactoryClassname,
String url)
Creates an URL object from the specified string.
|
protected abstract URL |
URLFactory.doCreateURL(String url) |
void |
URL.setFragment()
Sets the fragment part of this URL to "".
|
void |
URL.setFragment(String fragment)
Sets the fragment part of this URL to the specified parameter.
|
void |
URL.setHost()
Sets the host part of this URL to "".
|
void |
URL.setHost(String host)
Sets the host part of this URL to the specified parameter.
|
void |
URL.setPath()
Sets the path part of this URL to "".
|
void |
URL.setPath(String path)
Sets the path part of this URL to the specified parameter.
|
void |
URL.setPort()
Sets the port number of this URL to -1.
|
void |
URL.setPort(int port)
Sets the port number of this URL to the specified parameter.
|
void |
URL.setQuery()
Sets the query part of this URL to "".
|
void |
URL.setQuery(String query)
Sets the query part of this URL to the specified parameter.
|
void |
URL.setScheme()
Sets the scheme part of this URL to the specified parameter.
|
void |
URL.setScheme(String scheme)
Sets the scheme part of this URL to the specified parameter.
|
void |
URL.setString()
Replaces the current value of the URL with "".
|
void |
URL.setString(String url)
Replaces the current value of the URL with the specified value.
|
void |
URL.setUserInfo()
Sets the user info part of this URL to "".
|
void |
URL.setUserInfo(String userInfo)
Sets the user info part of this URL to the specified parameter.
|
URL |
URL.translate(Session session,
String scheme)
Returns a new URL with the scheme part replaced.
|
URL |
URL.translate(String scheme)
Returns a new URL with the scheme part replaced.
|
Copyright © 2016 Open Grid Forum. All rights reserved.