Package omero.api
Class _PyramidServiceTie
- java.lang.Object
-
- Ice.ObjectImpl
-
- omero.api._PyramidServiceDisp
-
- omero.api._PyramidServiceTie
-
- All Implemented Interfaces:
Ice.Object
,Ice.TieBase
,java.io.Serializable
,java.lang.Cloneable
,_PyramidServiceOperations
,_PyramidServiceOperationsNC
,_ServiceInterfaceOperations
,_ServiceInterfaceOperationsNC
,_StatefulServiceInterfaceOperations
,_StatefulServiceInterfaceOperationsNC
,PyramidService
,ServiceInterface
,StatefulServiceInterface
public class _PyramidServiceTie extends _PyramidServiceDisp implements Ice.TieBase
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static long
serialVersionUID
-
Fields inherited from class omero.api._PyramidServiceDisp
__ids
-
Fields inherited from interface omero.api.PyramidService
ice_staticId
-
-
Constructor Summary
Constructors Constructor Description _PyramidServiceTie()
_PyramidServiceTie(_PyramidServiceOperations delegate)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
activate_async(AMD_StatefulServiceInterface_activate __cb, Ice.Current __current)
Load a service implementation from disk if it was previously passivated.void
close_async(AMD_StatefulServiceInterface_close __cb, Ice.Current __current)
Frees all resources -- passivated or active -- for the given stateful service and removes its name from the object adapter.boolean
equals(java.lang.Object rhs)
void
getCurrentEventContext_async(AMD_StatefulServiceInterface_getCurrentEventContext __cb, Ice.Current __current)
To free clients from tracking the mapping from session to stateful service, each stateful service can returns its own context information.void
getResolutionDescriptions_async(AMD_PyramidService_getResolutionDescriptions __cb, Ice.Current __current)
Retrieves a more complete definition of the resolution level in question.void
getResolutionLevel_async(AMD_PyramidService_getResolutionLevel __cb, Ice.Current __current)
Retrieves the active resolution level.void
getResolutionLevels_async(AMD_PyramidService_getResolutionLevels __cb, Ice.Current __current)
Retrieves the number of resolution levels that the backing pixels pyramid contains.void
getTileSize_async(AMD_PyramidService_getTileSize __cb, Ice.Current __current)
Retrieves the tile size for the pixel store.int
hashCode()
java.lang.Object
ice_delegate()
void
ice_delegate(java.lang.Object delegate)
void
passivate_async(AMD_StatefulServiceInterface_passivate __cb, Ice.Current __current)
Causes the blitz server to store the service implementation to disk to free memory.void
requiresPixelsPyramid_async(AMD_PyramidService_requiresPixelsPyramid __cb, Ice.Current __current)
Whether or not this raw pixels store requires a backing pixels pyramid to provide sub-resolutions of the data.void
setResolutionLevel_async(AMD_PyramidService_setResolutionLevel __cb, int resolutionLevel, Ice.Current __current)
Sets the active resolution level.-
Methods inherited from class omero.api._PyramidServiceDisp
___getResolutionDescriptions, ___getResolutionLevel, ___getResolutionLevels, ___getTileSize, ___requiresPixelsPyramid, ___setResolutionLevel, __dispatch, __readImpl, __writeImpl, activate_async, close_async, getCurrentEventContext_async, getResolutionDescriptions_async, getResolutionLevel_async, getResolutionLevels_async, getTileSize_async, ice_copyStateFrom, ice_id, ice_id, ice_ids, ice_ids, ice_isA, ice_isA, ice_staticId, passivate_async, requiresPixelsPyramid_async, setResolutionLevel_async
-
Methods inherited from class Ice.ObjectImpl
___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
-
-
-
-
Field Detail
-
serialVersionUID
public static final long serialVersionUID
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
_PyramidServiceTie
public _PyramidServiceTie()
-
_PyramidServiceTie
public _PyramidServiceTie(_PyramidServiceOperations delegate)
-
-
Method Detail
-
ice_delegate
public java.lang.Object ice_delegate()
- Specified by:
ice_delegate
in interfaceIce.TieBase
-
ice_delegate
public void ice_delegate(java.lang.Object delegate)
- Specified by:
ice_delegate
in interfaceIce.TieBase
-
equals
public boolean equals(java.lang.Object rhs)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
getResolutionDescriptions_async
public void getResolutionDescriptions_async(AMD_PyramidService_getResolutionDescriptions __cb, Ice.Current __current) throws ServerError
Description copied from interface:_PyramidServiceOperations
Retrieves a more complete definition of the resolution level in question. The size of this array will be of lengthgetResolutionLevels
.- Specified by:
getResolutionDescriptions_async
in interface_PyramidServiceOperations
- Parameters:
__cb
- The callback object for the operation.__current
- The Current object for the invocation.- Throws:
ServerError
-
getResolutionLevel_async
public void getResolutionLevel_async(AMD_PyramidService_getResolutionLevel __cb, Ice.Current __current) throws ServerError
Description copied from interface:_PyramidServiceOperations
Retrieves the active resolution level.- Specified by:
getResolutionLevel_async
in interface_PyramidServiceOperations
- Parameters:
__cb
- The callback object for the operation.__current
- The Current object for the invocation.- Throws:
ServerError
-
getResolutionLevels_async
public void getResolutionLevels_async(AMD_PyramidService_getResolutionLevels __cb, Ice.Current __current) throws ServerError
Description copied from interface:_PyramidServiceOperations
Retrieves the number of resolution levels that the backing pixels pyramid contains.- Specified by:
getResolutionLevels_async
in interface_PyramidServiceOperations
- Parameters:
__cb
- The callback object for the operation.__current
- The Current object for the invocation.- Throws:
ServerError
-
getTileSize_async
public void getTileSize_async(AMD_PyramidService_getTileSize __cb, Ice.Current __current) throws ServerError
Description copied from interface:_PyramidServiceOperations
Retrieves the tile size for the pixel store.- Specified by:
getTileSize_async
in interface_PyramidServiceOperations
- Parameters:
__cb
- The callback object for the operation.__current
- The Current object for the invocation.- Throws:
ServerError
-
requiresPixelsPyramid_async
public void requiresPixelsPyramid_async(AMD_PyramidService_requiresPixelsPyramid __cb, Ice.Current __current) throws ServerError
Description copied from interface:_PyramidServiceOperations
Whether or not this raw pixels store requires a backing pixels pyramid to provide sub-resolutions of the data.- Specified by:
requiresPixelsPyramid_async
in interface_PyramidServiceOperations
- Parameters:
__cb
- The callback object for the operation.__current
- The Current object for the invocation.- Throws:
ServerError
-
setResolutionLevel_async
public void setResolutionLevel_async(AMD_PyramidService_setResolutionLevel __cb, int resolutionLevel, Ice.Current __current) throws ServerError
Description copied from interface:_PyramidServiceOperations
Sets the active resolution level.- Specified by:
setResolutionLevel_async
in interface_PyramidServiceOperations
- Parameters:
__cb
- The callback object for the operation.resolutionLevel
- The resolution level to be used by the pixel buffer.__current
- The Current object for the invocation.- Throws:
ServerError
-
activate_async
public void activate_async(AMD_StatefulServiceInterface_activate __cb, Ice.Current __current) throws ServerError
Description copied from interface:_StatefulServiceInterfaceOperations
Load a service implementation from disk if it was previously passivated. It is unnecessary to call this method since activation happens automatically, but calling this may prevent a short lapse when the service is first accessed after passivation. It is safe to call this method at any time, even when the service is not passivated.- Specified by:
activate_async
in interface_StatefulServiceInterfaceOperations
- Parameters:
__cb
- The callback object for the operation.__current
- The Current object for the invocation.- Throws:
ServerError
-
close_async
public void close_async(AMD_StatefulServiceInterface_close __cb, Ice.Current __current) throws ServerError
Description copied from interface:_StatefulServiceInterfaceOperations
Frees all resources -- passivated or active -- for the given stateful service and removes its name from the object adapter. Any further method calls will fail with a Ice::NoSuchObjectException. Note: with JavaEE, the close method was called publicly, and internally this called destroy(). As of the OmeroBlitz migration, this functionality has been combined.- Specified by:
close_async
in interface_StatefulServiceInterfaceOperations
- Parameters:
__cb
- The callback object for the operation.__current
- The Current object for the invocation.- Throws:
ServerError
-
getCurrentEventContext_async
public void getCurrentEventContext_async(AMD_StatefulServiceInterface_getCurrentEventContext __cb, Ice.Current __current) throws ServerError
Description copied from interface:_StatefulServiceInterfaceOperations
To free clients from tracking the mapping from session to stateful service, each stateful service can returns its own context information.- Specified by:
getCurrentEventContext_async
in interface_StatefulServiceInterfaceOperations
- Parameters:
__cb
- The callback object for the operation.__current
- The Current object for the invocation.- Throws:
ServerError
-
passivate_async
public void passivate_async(AMD_StatefulServiceInterface_passivate __cb, Ice.Current __current) throws ServerError
Description copied from interface:_StatefulServiceInterfaceOperations
Causes the blitz server to store the service implementation to disk to free memory. This is typically done automatically by the server when a pre-defined memory limit is reached, but can be used by the client if it clear that a stateful service will not be used for some time. Activation will happen automatically whether passivation was done manually or automatically.- Specified by:
passivate_async
in interface_StatefulServiceInterfaceOperations
- Parameters:
__cb
- The callback object for the operation.__current
- The Current object for the invocation.- Throws:
ServerError
-
-