public class ManagedImportProcessI extends AbstractCloseableAmdServant implements omero.grid._ImportProcessOperations, ServiceFactoryAware, ProcessContainer.Process
Constructor and Description |
---|
ManagedImportProcessI(ManagedRepositoryI repo,
omero.model.Fileset fs,
omero.grid.ImportLocation location,
omero.grid.ImportSettings settings,
Ice.Current __current)
Create and register a servant for servicing the import process
within a managed repository.
|
Modifier and Type | Method and Description |
---|---|
void |
closeCalled(int idx) |
omero.model.Fileset |
getFileset() |
long |
getGroup() |
omero.cmd.HandlePrx |
getHandle(Ice.Current ignore) |
omero.grid.ImportSettings |
getImportSettings(Ice.Current __current) |
omero.grid.ImportProcessPrx |
getProxy() |
omero.api.RawFileStorePrx |
getUploader(int i,
Ice.Current current) |
long |
getUploadOffset(int idx,
Ice.Current ignore) |
void |
ping() |
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) |
protected void |
registerCallback(omero.api.RawFileStorePrx prx,
int idx) |
protected omero.grid.ImportProcessPrx |
registerProxy(Ice.Current ignore)
Adds this instance to the current session so that clients can communicate
with it.
|
void |
setOffset(int idx,
long offset) |
void |
setServiceFactory(ServiceFactoryI sf) |
void |
shutdown() |
omero.cmd.HandlePrx |
verifyUpload(List<String> hashes,
Ice.Current __current) |
close_async, close
activate_async, applyHardWiredInterceptors, callInvokerOnMappedArgs, callInvokerOnRawArgs, executorWorkCall, getCurrentEventContext_async, onSetOmeroContext, passivate_async, runnableCall, safeRunnableCall, setApplicationContext, setHolder
public ManagedImportProcessI(ManagedRepositoryI repo, omero.model.Fileset fs, omero.grid.ImportLocation location, omero.grid.ImportSettings settings, Ice.Current __current) throws omero.ServerError
omero.ServerError
public void setServiceFactory(ServiceFactoryI sf) throws omero.ServerError
setServiceFactory
in interface ServiceFactoryAware
omero.ServerError
protected omero.grid.ImportProcessPrx registerProxy(Ice.Current ignore) throws omero.ServerError
omero.ServerError
public omero.grid.ImportProcessPrx getProxy()
getProxy
in interface ProcessContainer.Process
public omero.model.Fileset getFileset()
getFileset
in interface ProcessContainer.Process
public omero.grid.ImportSettings getImportSettings(Ice.Current __current)
getImportSettings
in interface omero.grid._ImportProcessOperations
public long getGroup()
getGroup
in interface ProcessContainer.Process
public void ping()
ping
in interface ProcessContainer.Process
public void shutdown()
shutdown
in interface ProcessContainer.Process
public omero.api.RawFileStorePrx getUploader(int i, Ice.Current current) throws omero.ServerError
getUploader
in interface omero.grid._ImportProcessOperations
omero.ServerError
protected void registerCallback(omero.api.RawFileStorePrx prx, int idx)
public omero.cmd.HandlePrx verifyUpload(List<String> hashes, Ice.Current __current) throws omero.ServerError
verifyUpload
in interface omero.grid._ImportProcessOperations
omero.ServerError
public long getUploadOffset(int idx, Ice.Current ignore) throws omero.ServerError
getUploadOffset
in interface omero.grid._ImportProcessOperations
omero.ServerError
public omero.cmd.HandlePrx getHandle(Ice.Current ignore)
getHandle
in interface omero.grid._ImportProcessOperations
public void setOffset(int idx, long offset)
public void closeCalled(int idx)
protected void preClose(Ice.Current current) throws Throwable
preClose
in class AbstractCloseableAmdServant
Throwable
protected void postClose(Ice.Current current)
AbstractCloseableAmdServant
postClose
in class AbstractCloseableAmdServant
Version: 5.3.3-ice35-b63
Copyright © 2017 The University of Dundee & Open Microscopy Environment. All Rights Reserved.