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