public abstract class _SharedResourcesDisp extends Ice.ObjectImpl implements SharedResources
Modifier and Type | Field and Description |
---|---|
static java.lang.String[] |
__ids |
static long |
serialVersionUID |
ice_staticId
Constructor and Description |
---|
_SharedResourcesDisp() |
Modifier and Type | Method and Description |
---|---|
static Ice.DispatchStatus |
___acquireProcessor(SharedResources __obj,
IceInternal.Incoming __inS,
Ice.Current __current) |
static Ice.DispatchStatus |
___addProcessor(SharedResources __obj,
IceInternal.Incoming __inS,
Ice.Current __current) |
static Ice.DispatchStatus |
___areTablesEnabled(SharedResources __obj,
IceInternal.Incoming __inS,
Ice.Current __current) |
static Ice.DispatchStatus |
___getScriptRepository(SharedResources __obj,
IceInternal.Incoming __inS,
Ice.Current __current) |
static Ice.DispatchStatus |
___newTable(SharedResources __obj,
IceInternal.Incoming __inS,
Ice.Current __current) |
static Ice.DispatchStatus |
___openTable(SharedResources __obj,
IceInternal.Incoming __inS,
Ice.Current __current) |
static Ice.DispatchStatus |
___removeProcessor(SharedResources __obj,
IceInternal.Incoming __inS,
Ice.Current __current) |
static Ice.DispatchStatus |
___repositories(SharedResources __obj,
IceInternal.Incoming __inS,
Ice.Current __current) |
Ice.DispatchStatus |
__dispatch(IceInternal.Incoming in,
Ice.Current __current) |
protected void |
__readImpl(IceInternal.BasicStream __is) |
protected void |
__writeImpl(IceInternal.BasicStream __os) |
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.
|
protected void |
ice_copyStateFrom(Ice.Object __obj) |
java.lang.String |
ice_id() |
java.lang.String |
ice_id(Ice.Current __current) |
java.lang.String[] |
ice_ids() |
java.lang.String[] |
ice_ids(Ice.Current __current) |
boolean |
ice_isA(java.lang.String s) |
boolean |
ice_isA(java.lang.String s,
Ice.Current __current) |
static java.lang.String |
ice_staticId() |
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).
|
___ice_id, ___ice_ids, ___ice_isA, ___ice_ping, __checkMode, __read, __read, __readImpl, __write, __write, __writeImpl, clone, ice_dispatch, ice_dispatch, ice_operationAttributes, ice_ping, ice_ping, ice_postUnmarshal, ice_preMarshal
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
__read, __read, __write, __write, clone, ice_dispatch, ice_dispatch, ice_operationAttributes, ice_ping, ice_ping, ice_postUnmarshal, ice_preMarshal
acquireProcessor, addProcessor, areTablesEnabled, getScriptRepository, newTable, openTable, removeProcessor, repositories
public static final java.lang.String[] __ids
public static final long serialVersionUID
protected void ice_copyStateFrom(Ice.Object __obj) throws java.lang.CloneNotSupportedException
java.lang.CloneNotSupportedException
public boolean ice_isA(java.lang.String s)
ice_isA
in interface Ice.Object
ice_isA
in class Ice.ObjectImpl
public boolean ice_isA(java.lang.String s, Ice.Current __current)
ice_isA
in interface Ice.Object
ice_isA
in class Ice.ObjectImpl
public java.lang.String[] ice_ids()
ice_ids
in interface Ice.Object
ice_ids
in class Ice.ObjectImpl
public java.lang.String[] ice_ids(Ice.Current __current)
ice_ids
in interface Ice.Object
ice_ids
in class Ice.ObjectImpl
public java.lang.String ice_id()
ice_id
in interface Ice.Object
ice_id
in class Ice.ObjectImpl
public java.lang.String ice_id(Ice.Current __current)
ice_id
in interface Ice.Object
ice_id
in class Ice.ObjectImpl
public static java.lang.String ice_staticId()
public final InteractiveProcessorPrx acquireProcessor(Job job, int seconds) throws ServerError
acquireProcessor
in interface _SharedResourcesOperationsNC
ServerError
public final 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.addProcessor
in interface _SharedResourcesOperationsNC
ServerError
public final 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)areTablesEnabled
in interface _SharedResourcesOperationsNC
ServerError
public final RepositoryPrx getScriptRepository() throws ServerError
getScriptRepository
in interface _SharedResourcesOperationsNC
ServerError
public final TablePrx newTable(long repoId, java.lang.String path) throws ServerError
newTable
in interface _SharedResourcesOperationsNC
ServerError
public final TablePrx openTable(OriginalFile file) throws ServerError
openTable
in interface _SharedResourcesOperationsNC
ServerError
public final void removeProcessor(ProcessorPrx proc) throws ServerError
Processor
from Storm
notifications. If the processor was not already registered via
addProcessor
this is a no-op.removeProcessor
in interface _SharedResourcesOperationsNC
ServerError
public final RepositoryMap repositories() throws ServerError
repositories
in interface _SharedResourcesOperationsNC
ServerError
public static Ice.DispatchStatus ___acquireProcessor(SharedResources __obj, IceInternal.Incoming __inS, Ice.Current __current)
public static Ice.DispatchStatus ___addProcessor(SharedResources __obj, IceInternal.Incoming __inS, Ice.Current __current)
public static Ice.DispatchStatus ___removeProcessor(SharedResources __obj, IceInternal.Incoming __inS, Ice.Current __current)
public static Ice.DispatchStatus ___repositories(SharedResources __obj, IceInternal.Incoming __inS, Ice.Current __current)
public static Ice.DispatchStatus ___getScriptRepository(SharedResources __obj, IceInternal.Incoming __inS, Ice.Current __current)
public static Ice.DispatchStatus ___areTablesEnabled(SharedResources __obj, IceInternal.Incoming __inS, Ice.Current __current)
public static Ice.DispatchStatus ___newTable(SharedResources __obj, IceInternal.Incoming __inS, Ice.Current __current)
public static Ice.DispatchStatus ___openTable(SharedResources __obj, IceInternal.Incoming __inS, Ice.Current __current)
public Ice.DispatchStatus __dispatch(IceInternal.Incoming in, Ice.Current __current)
__dispatch
in interface Ice.Object
__dispatch
in class Ice.ObjectImpl
protected void __writeImpl(IceInternal.BasicStream __os)
__writeImpl
in class Ice.ObjectImpl
protected void __readImpl(IceInternal.BasicStream __is)
__readImpl
in class Ice.ObjectImpl