public class SharedResourcesI extends AbstractCloseableAmdServant implements omero.grid._SharedResourcesOperations, BlitzOnly, ServiceFactoryAware, ParamsHelper.Acquirer
SharedResources| Modifier and Type | Field and Description |
|---|---|
static long |
DEFAULT_TIMEOUT
If no value is passed to this instance, this is the time (1 hour)
which will be used for a script session.
|
| Constructor and Description |
|---|
SharedResourcesI(BlitzExecutor be,
TopicManager topicManager,
Registry registry,
ScriptRepoHelper helper,
ParamsCache cache) |
SharedResourcesI(BlitzExecutor be,
TopicManager topicManager,
Registry registry,
ScriptRepoHelper helper,
ParamsCache cache,
long waitMillis) |
SharedResourcesI(BlitzExecutor be,
TopicManager topicManager,
Registry registry,
ScriptRepoHelper helper,
ParamsCache cache,
long waitMillis,
long timeout) |
| Modifier and Type | Method and Description |
|---|---|
omero.grid.InteractiveProcessorPrx |
acquireProcessor(omero.model.Job submittedJob,
int seconds,
Ice.Current current) |
void |
addProcessor(omero.grid.ProcessorPrx proc,
Ice.Current __current) |
boolean |
areTablesEnabled(Ice.Current __current) |
omero.grid.RepositoryPrx |
getScriptRepository(Ice.Current __current) |
omero.grid.TablePrx |
newTable(long repo,
String path,
Ice.Current __current) |
omero.grid.TablePrx |
openTable(omero.model.OriginalFile file,
Ice.Current __current) |
protected void |
postClose(Ice.Current current)
Should not throw any exceptions which should be detected by clients
since it is called in a finally block after the client thread has been
released.
|
protected void |
preClose(Ice.Current current) |
void |
removeProcessor(omero.grid.ProcessorPrx proc,
Ice.Current __current) |
omero.grid.RepositoryMap |
repositories(Ice.Current current) |
void |
setServiceFactory(ServiceFactoryI sf) |
close_async, closeactivate_async, applyHardWiredInterceptors, callInvokerOnMappedArgs, callInvokerOnRawArgs, executorWorkCall, getCurrentEventContext_async, onSetOmeroContext, passivate_async, runnableCall, safeRunnableCall, setApplicationContext, setHolderpublic static final long DEFAULT_TIMEOUT
public SharedResourcesI(BlitzExecutor be, TopicManager topicManager, Registry registry, ScriptRepoHelper helper, ParamsCache cache)
public SharedResourcesI(BlitzExecutor be, TopicManager topicManager, Registry registry, ScriptRepoHelper helper, ParamsCache cache, long waitMillis)
public SharedResourcesI(BlitzExecutor be, TopicManager topicManager, Registry registry, ScriptRepoHelper helper, ParamsCache cache, long waitMillis, long timeout)
public void setServiceFactory(ServiceFactoryI sf) throws omero.ServerError
setServiceFactory in interface ServiceFactoryAwareomero.ServerErrorprotected void preClose(Ice.Current current)
preClose in class AbstractCloseableAmdServantprotected void postClose(Ice.Current current)
AbstractCloseableAmdServantpostClose in class AbstractCloseableAmdServantpublic omero.grid.RepositoryPrx getScriptRepository(Ice.Current __current)
throws omero.ServerError
getScriptRepository in interface omero.grid._SharedResourcesOperationsomero.ServerErrorpublic omero.grid.RepositoryMap repositories(Ice.Current current)
throws omero.ServerError
repositories in interface omero.grid._SharedResourcesOperationsomero.ServerErrorpublic boolean areTablesEnabled(Ice.Current __current)
throws omero.ServerError
areTablesEnabled in interface omero.grid._SharedResourcesOperationsomero.ServerErrorpublic omero.grid.TablePrx newTable(long repo,
String path,
Ice.Current __current)
throws omero.ServerError
newTable in interface omero.grid._SharedResourcesOperationsomero.ServerErrorpublic omero.grid.TablePrx openTable(omero.model.OriginalFile file,
Ice.Current __current)
throws omero.ServerError
openTable in interface omero.grid._SharedResourcesOperationsomero.ServerErrorpublic omero.grid.InteractiveProcessorPrx acquireProcessor(omero.model.Job submittedJob,
int seconds,
Ice.Current current)
throws omero.ServerError
acquireProcessor in interface omero.grid._SharedResourcesOperationsacquireProcessor in interface ParamsHelper.Acquireromero.ServerErrorpublic void addProcessor(omero.grid.ProcessorPrx proc,
Ice.Current __current)
throws omero.ServerError
addProcessor in interface omero.grid._SharedResourcesOperationsomero.ServerErrorpublic void removeProcessor(omero.grid.ProcessorPrx proc,
Ice.Current __current)
throws omero.ServerError
removeProcessor in interface omero.grid._SharedResourcesOperationsomero.ServerError
Version: 5.2.1-ice35-b15
Copyright © 2015 The University of Dundee & Open Microscopy Environment. All Rights Reserved.