public interface _SharedResourcesOperations
| Modifier and Type | Method and Description |
|---|---|
InteractiveProcessorPrx |
acquireProcessor(Job job,
int seconds,
Ice.Current __current)
Waits up to seconds to acquire a slot in a processor
which can handle the given job.
|
void |
addProcessor(ProcessorPrx proc,
Ice.Current __current)
Registers a
Processor for Storm notifications
so that other sessions can query whether or not a given
processor would accept a given task. |
boolean |
areTablesEnabled(Ice.Current __current)
Returns true if a
Tables service is active in the grid. |
RepositoryPrx |
getScriptRepository(Ice.Current __current)
Returns the single (possibly mirrored) script repository which makes
all official scripts available.
|
TablePrx |
newTable(long repoId,
java.lang.String path,
Ice.Current __current)
Creates a new Format(""OMERO.tables"") file at the given path
on the given repository.
|
TablePrx |
openTable(OriginalFile file,
Ice.Current __current)
Returns a Table instance or null.
|
void |
removeProcessor(ProcessorPrx proc,
Ice.Current __current)
Unregisters a
Processor from Storm
notifications. |
RepositoryMap |
repositories(Ice.Current __current)
Returns a map between Repository descriptions (omero::model::OriginalFile
instances) and RepositoryPrx instances (possibly null).
|
InteractiveProcessorPrx acquireProcessor(Job job, int seconds, Ice.Current __current) throws ServerError
__current - The Current object for the invocation.ServerErrorvoid addProcessor(ProcessorPrx proc, Ice.Current __current) throws ServerError
Processor for Storm notifications
so that other sessions can query whether or not a given
processor would accept a given task.__current - The Current object for the invocation.ServerErrorvoid removeProcessor(ProcessorPrx proc, Ice.Current __current) throws ServerError
Processor from Storm
notifications. If the processor was not already registered via
addProcessor this is a no-op.__current - The Current object for the invocation.ServerErrorRepositoryMap repositories(Ice.Current __current) throws ServerError
__current - The Current object for the invocation.ServerErrorRepositoryPrx getScriptRepository(Ice.Current __current) throws ServerError
__current - The Current object for the invocation.ServerErrorboolean areTablesEnabled(Ice.Current __current)
throws ServerError
Tables service is active in the grid.
If this value is false, then all calls to #ewTable
or openTable will either fail or return null (possibly
blocking while waiting for a service to startup)__current - The Current object for the invocation.ServerErrorTablePrx newTable(long repoId, java.lang.String path, Ice.Current __current) throws ServerError
__current - The Current object for the invocation.ServerErrorTablePrx openTable(OriginalFile file, Ice.Current __current) throws ServerError
__current - The Current object for the invocation.ServerError