Package | Description |
---|---|
org.ogf.saga |
This package contains the base object for almost all SAGA objects.
|
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.error |
Each SAGA API call has an associated list of exceptions it may
throw, which are described in this package.
|
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.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.session | |
org.ogf.saga.task |
This package provides classes and methods for manipulating tasks and
collections of tasks.
|
Modifier and Type | Method and Description |
---|---|
Session |
SagaObject.getSession()
Returns a shallow copy of the session from which this object was created.
|
Modifier and Type | Method and Description |
---|---|
String |
Attributes.getAttribute(String key)
Gets the value of an attribute.
|
String[] |
Attributes.getVectorAttribute(String key)
Gets the array of values associated with an attribute.
|
boolean |
Attributes.isReadOnlyAttribute(String key)
Checks the attribute for being read-only.
|
boolean |
Attributes.isRemovableAttribute(String key)
Checks the attribute for being removable.
|
boolean |
Attributes.isVectorAttribute(String key)
Checks the attribute for being a vector.
|
boolean |
Attributes.isWritableAttribute(String key)
Checks the attribute for being writable.
|
void |
Attributes.removeAttribute(String key)
Removes an attribute.
|
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 |
---|---|
byte[] |
Buffer.getData()
Retrieves the buffer data.
|
Modifier and Type | Method and Description |
---|---|
SagaObject |
SagaException.getObject()
Returns the SAGA object associated with this exception.
|
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.
|
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.
|
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. |
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 . |
Modifier and Type | Method and Description |
---|---|
Job |
JobService.getJob(String jobId)
Returns the job instance associated with the specified job
identification.
|
JobDescription |
Job.getJobDescription()
Retrieves the job description that was used to submit this job instance.
|
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).
|
Modifier and Type | Method and Description |
---|---|
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.
|
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 |
---|---|
int |
Monitorable.addCallback(String name,
Callback cb)
Adds a callback to the specified metric.
|
void |
Steerable.fireMetric(String name)
Pushes a new metric value to the backend.
|
Metric |
Monitorable.getMetric(String name)
Returns a metric instance, identified by name.
|
void |
Monitorable.removeCallback(String name,
int cookie)
Removes the specified callback.
|
void |
Steerable.removeMetric(String name)
Removes a metric instance.
|
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.
|
URL |
NSDirectory.getEntry(int entry)
Gives the name of an entry in the directory based upon the enumeration
defined by
NSDirectory.getNumEntries() . |
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.
|
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. |
URL |
NSDirectory.readLink(URL name)
Returns the URL representing the link target.
|
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 |
---|---|
RD |
Resource.getDescription()
Retrieves the resource description that was used to create this resource instance.
|
void |
Resource.release()
Release resource
|
void |
Compute.release(boolean drain)
Release resource
|
Modifier and Type | Method and Description |
---|---|
Compute |
ResourceManager.acquireCompute(String id)
Return resource handle for some known compute resource.
|
Network |
ResourceManager.acquireNetwork(String id)
Return resource handle for some known network resource.
|
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 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 RPC |
RPCFactory.doCreateRPC(Session session,
URL funcname)
Creates a RPC handle instance.
|
Modifier and Type | Method and Description |
---|---|
static Discoverer |
SDFactory.createDiscoverer()
Creates a
Discoverer with the default Session
and URL . |
static Discoverer |
SDFactory.createDiscoverer(Session session)
Creates a
Discoverer with a specified session and a default
and URL . |
static Discoverer |
SDFactory.createDiscoverer(Session session,
URL url)
Creates a
Discoverer . |
static Discoverer |
SDFactory.createDiscoverer(String sagaFactoryClassname)
Creates a
Discoverer with the default Session
and URL . |
static Discoverer |
SDFactory.createDiscoverer(String sagaFactoryClassname,
Session session)
Creates a
Discoverer with a specified session and a default
and URL . |
static Discoverer |
SDFactory.createDiscoverer(String sagaFactoryClassname,
Session session,
URL url)
Creates a
Discoverer . |
protected abstract Discoverer |
SDFactory.doCreateDiscoverer(Session session)
Creates a
Discoverer with the default URL . |
protected abstract Discoverer |
SDFactory.doCreateDiscoverer(Session session,
URL url)
Creates a
Discoverer . |
Modifier and Type | Method and Description |
---|---|
void |
Session.removeContext(Context context)
Detaches the specified security context from the session.
|
Modifier and Type | Method and Description |
---|---|
void |
TaskContainer.cancel()
Cancels all the asynchronous operations in the container.
|
void |
TaskContainer.cancel(float timeoutInSeconds)
Cancels all the asynchronous operations in the container.
|
E |
Task.getResult()
Obtains the result of the asynchronous method call.
|
Task<?,?> |
TaskContainer.getTask(String id)
Gets a single task from the task container.
|
void |
TaskContainer.remove(Task<?,?> task)
Removes the specified task from this container.
|
void |
Task.rethrow()
Throws any exception a failed task caught.
|
void |
TaskContainer.run()
Starts all asynchronous operations in the container.
|
Task<?,?> |
TaskContainer.waitFor()
Waits for all tasks to end up in a final state.
|
Task<?,?> |
TaskContainer.waitFor(float timeoutInSeconds)
Waits for all tasks to end up in a final state.
|
Task<?,?> |
TaskContainer.waitFor(float timeoutInSeconds,
WaitMode mode)
Waits for one or more of the tasks to end up in a final state.
|
Task<?,?> |
TaskContainer.waitFor(WaitMode mode)
Waits for one or more of the tasks to end up in a final state.
|
Copyright © 2016 Open Grid Forum. All rights reserved.