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
ServerError
void 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.ServerError
void removeProcessor(ProcessorPrx proc) throws ServerError
Processor
from Storm
notifications. If the processor was not already registered via
addProcessor
this is a no-op.ServerError
RepositoryMap repositories() throws ServerError
ServerError
RepositoryPrx getScriptRepository() throws ServerError
ServerError
boolean 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)ServerError
TablePrx newTable(long repoId, java.lang.String path) throws ServerError
ServerError
TablePrx openTable(OriginalFile file) throws ServerError
ServerError