Package omero.api
Class _RawPixelsStoreDisp
- java.lang.Object
-
- Ice.ObjectImpl
-
- omero.api._RawPixelsStoreDisp
-
- All Implemented Interfaces:
Ice.Object,java.io.Serializable,java.lang.Cloneable,_PyramidServiceOperations,_PyramidServiceOperationsNC,_RawPixelsStoreOperations,_RawPixelsStoreOperationsNC,_ServiceInterfaceOperations,_ServiceInterfaceOperationsNC,_StatefulServiceInterfaceOperations,_StatefulServiceInterfaceOperationsNC,PyramidService,RawPixelsStore,ServiceInterface,StatefulServiceInterface
- Direct Known Subclasses:
_RawPixelsStoreTie,BfPixelsStoreI
public abstract class _RawPixelsStoreDisp extends Ice.ObjectImpl implements RawPixelsStore
Binary data provider. Initialized with the ID of aPixelsinstance, this service can provide various slices, stacks, regions of the 5-dimensional (X-Y planes with multiple Z-sections and Channels over Time). The byte array returned by the getter methods and passed to the setter methods can and will be interpreted according to results ofgetByteWidth,isFloat, andisSigned.Read-only caveat: Mutating methods (set*) are only available during the first access. Once the Pixels data has been successfully saved (via the save or close methods on this interface), then the data should be treated read-only. If Pixels data writing fails and the service is inadvertently closed, delete the Pixels object, and create a new one. Any partially written data will be removed.
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String[]__idsstatic longserialVersionUID-
Fields inherited from interface omero.api.RawPixelsStore
ice_staticId
-
-
Constructor Summary
Constructors Constructor Description _RawPixelsStoreDisp()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Ice.DispatchStatus___calculateMessageDigest(RawPixelsStore __obj, IceInternal.Incoming __inS, Ice.Current __current)static Ice.DispatchStatus___findMinMax(RawPixelsStore __obj, IceInternal.Incoming __inS, Ice.Current __current)static Ice.DispatchStatus___getByteWidth(RawPixelsStore __obj, IceInternal.Incoming __inS, Ice.Current __current)static Ice.DispatchStatus___getCol(RawPixelsStore __obj, IceInternal.Incoming __inS, Ice.Current __current)static Ice.DispatchStatus___getHistogram(RawPixelsStore __obj, IceInternal.Incoming __inS, Ice.Current __current)static Ice.DispatchStatus___getHypercube(RawPixelsStore __obj, IceInternal.Incoming __inS, Ice.Current __current)static Ice.DispatchStatus___getPixelsId(RawPixelsStore __obj, IceInternal.Incoming __inS, Ice.Current __current)static Ice.DispatchStatus___getPixelsPath(RawPixelsStore __obj, IceInternal.Incoming __inS, Ice.Current __current)static Ice.DispatchStatus___getPlane(RawPixelsStore __obj, IceInternal.Incoming __inS, Ice.Current __current)static Ice.DispatchStatus___getPlaneOffset(RawPixelsStore __obj, IceInternal.Incoming __inS, Ice.Current __current)static Ice.DispatchStatus___getPlaneRegion(RawPixelsStore __obj, IceInternal.Incoming __inS, Ice.Current __current)static Ice.DispatchStatus___getPlaneSize(RawPixelsStore __obj, IceInternal.Incoming __inS, Ice.Current __current)static Ice.DispatchStatus___getRegion(RawPixelsStore __obj, IceInternal.Incoming __inS, Ice.Current __current)static Ice.DispatchStatus___getRow(RawPixelsStore __obj, IceInternal.Incoming __inS, Ice.Current __current)static Ice.DispatchStatus___getRowOffset(RawPixelsStore __obj, IceInternal.Incoming __inS, Ice.Current __current)static Ice.DispatchStatus___getRowSize(RawPixelsStore __obj, IceInternal.Incoming __inS, Ice.Current __current)static Ice.DispatchStatus___getStack(RawPixelsStore __obj, IceInternal.Incoming __inS, Ice.Current __current)static Ice.DispatchStatus___getStackOffset(RawPixelsStore __obj, IceInternal.Incoming __inS, Ice.Current __current)static Ice.DispatchStatus___getStackSize(RawPixelsStore __obj, IceInternal.Incoming __inS, Ice.Current __current)static Ice.DispatchStatus___getTile(RawPixelsStore __obj, IceInternal.Incoming __inS, Ice.Current __current)static Ice.DispatchStatus___getTimepoint(RawPixelsStore __obj, IceInternal.Incoming __inS, Ice.Current __current)static Ice.DispatchStatus___getTimepointOffset(RawPixelsStore __obj, IceInternal.Incoming __inS, Ice.Current __current)static Ice.DispatchStatus___getTimepointSize(RawPixelsStore __obj, IceInternal.Incoming __inS, Ice.Current __current)static Ice.DispatchStatus___getTotalSize(RawPixelsStore __obj, IceInternal.Incoming __inS, Ice.Current __current)static Ice.DispatchStatus___isFloat(RawPixelsStore __obj, IceInternal.Incoming __inS, Ice.Current __current)static Ice.DispatchStatus___isSigned(RawPixelsStore __obj, IceInternal.Incoming __inS, Ice.Current __current)static Ice.DispatchStatus___prepare(RawPixelsStore __obj, IceInternal.Incoming __inS, Ice.Current __current)static Ice.DispatchStatus___save(RawPixelsStore __obj, IceInternal.Incoming __inS, Ice.Current __current)static Ice.DispatchStatus___setPixelsId(RawPixelsStore __obj, IceInternal.Incoming __inS, Ice.Current __current)static Ice.DispatchStatus___setPlane(RawPixelsStore __obj, IceInternal.Incoming __inS, Ice.Current __current)static Ice.DispatchStatus___setRegion(RawPixelsStore __obj, IceInternal.Incoming __inS, Ice.Current __current)static Ice.DispatchStatus___setRow(RawPixelsStore __obj, IceInternal.Incoming __inS, Ice.Current __current)static Ice.DispatchStatus___setStack(RawPixelsStore __obj, IceInternal.Incoming __inS, Ice.Current __current)static Ice.DispatchStatus___setTile(RawPixelsStore __obj, IceInternal.Incoming __inS, Ice.Current __current)static Ice.DispatchStatus___setTimepoint(RawPixelsStore __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)voidactivate_async(AMD_StatefulServiceInterface_activate __cb)Load a service implementation from disk if it was previously passivated.voidcalculateMessageDigest_async(AMD_RawPixelsStore_calculateMessageDigest __cb)Calculates a SHA-1 message digest for the entire pixel store.voidclose_async(AMD_StatefulServiceInterface_close __cb)Frees all resources -- passivated or active -- for the given stateful service and removes its name from the object adapter.voidfindMinMax_async(AMD_RawPixelsStore_findMinMax __cb, int[] channels)Find the minimum and maximum pixel values for the specified channels by iterating over a full plane.voidgetByteWidth_async(AMD_RawPixelsStore_getByteWidth __cb)Returns the byte width for the pixel store.voidgetCol_async(AMD_RawPixelsStore_getCol __cb, int x, int z, int c, int t)Retrieves a particular column from this pixel store.voidgetCurrentEventContext_async(AMD_StatefulServiceInterface_getCurrentEventContext __cb)To free clients from tracking the mapping from session to stateful service, each stateful service can returns its own context information.voidgetHistogram_async(AMD_RawPixelsStore_getHistogram __cb, int[] channels, int binCount, boolean globalRange, PlaneDef plane)Retrieves the histogram data for the specified plane and channels.voidgetHypercube_async(AMD_RawPixelsStore_getHypercube __cb, java.util.List<java.lang.Integer> offset, java.util.List<java.lang.Integer> size, java.util.List<java.lang.Integer> step)Retrieves a n-dimensional block from this pixel store.voidgetPixelsId_async(AMD_RawPixelsStore_getPixelsId __cb)Returns the current Pixels set identifier.voidgetPixelsPath_async(AMD_RawPixelsStore_getPixelsPath __cb)Returns the current Pixels path.voidgetPlane_async(AMD_RawPixelsStore_getPlane __cb, int z, int c, int t)Retrieves a particular 2D image plane from this pixel store.voidgetPlaneOffset_async(AMD_RawPixelsStore_getPlaneOffset __cb, int z, int c, int t)Retrieves the offset for a particular 2D image plane in this pixel store.voidgetPlaneRegion_async(AMD_RawPixelsStore_getPlaneRegion __cb, int z, int c, int t, int size, int offset)Retrieves a region from a given plane from this pixel store.voidgetPlaneSize_async(AMD_RawPixelsStore_getPlaneSize __cb)Retrieves the in memory size of a 2D image plane in this pixel store.voidgetRegion_async(AMD_RawPixelsStore_getRegion __cb, int size, long offset)Retrieves a region from this pixel store.voidgetResolutionDescriptions_async(AMD_PyramidService_getResolutionDescriptions __cb)Retrieves a more complete definition of the resolution level in question.voidgetResolutionLevel_async(AMD_PyramidService_getResolutionLevel __cb)Retrieves the active resolution level.voidgetResolutionLevels_async(AMD_PyramidService_getResolutionLevels __cb)Retrieves the number of resolution levels that the backing pixels pyramid contains.voidgetRow_async(AMD_RawPixelsStore_getRow __cb, int y, int z, int c, int t)Retrieves a particular row or scanline from this pixel store.voidgetRowOffset_async(AMD_RawPixelsStore_getRowOffset __cb, int y, int z, int c, int t)Retrieves the offset for a particular row or scanline in this pixel store.voidgetRowSize_async(AMD_RawPixelsStore_getRowSize __cb)Retrieves the in memory size of a row or scanline of pixels in this pixel store.voidgetStack_async(AMD_RawPixelsStore_getStack __cb, int c, int t)Retrieves the the entire number of optical sections for a single wavelength or channel at a particular timepoint in this pixel store.voidgetStackOffset_async(AMD_RawPixelsStore_getStackOffset __cb, int c, int t)Retrieves the offset for the entire number of optical sections for a single wavelength or channel at a particular timepoint in this pixel store.voidgetStackSize_async(AMD_RawPixelsStore_getStackSize __cb)Retrieves the in memory size of the entire number of optical sections for a single wavelength or channel at a particular timepoint in this pixel store.voidgetTile_async(AMD_RawPixelsStore_getTile __cb, int z, int c, int t, int x, int y, int w, int h)Retrieves a tile from this pixel buffer.voidgetTileSize_async(AMD_PyramidService_getTileSize __cb)Retrieves the tile size for the pixel store.voidgetTimepoint_async(AMD_RawPixelsStore_getTimepoint __cb, int t)Retrieves the entire number of optical sections for all wavelengths or channels at a particular timepoint in this pixel store.voidgetTimepointOffset_async(AMD_RawPixelsStore_getTimepointOffset __cb, int t)Retrieves the in memory size of the entire number of optical sections for all wavelengths or channels at a particular timepoint in this pixel store.voidgetTimepointSize_async(AMD_RawPixelsStore_getTimepointSize __cb)Retrieves the in memory size of the entire number of optical sections for all wavelengths or channels at a particular timepoint in this pixel store.voidgetTotalSize_async(AMD_RawPixelsStore_getTotalSize __cb)Retrieves the in memory size of the entire pixel store.protected voidice_copyStateFrom(Ice.Object __obj)java.lang.Stringice_id()java.lang.Stringice_id(Ice.Current __current)java.lang.String[]ice_ids()java.lang.String[]ice_ids(Ice.Current __current)booleanice_isA(java.lang.String s)booleanice_isA(java.lang.String s, Ice.Current __current)static java.lang.Stringice_staticId()voidisFloat_async(AMD_RawPixelsStore_isFloat __cb)Returns whether or not the pixel buffer has floating point pixels.voidisSigned_async(AMD_RawPixelsStore_isSigned __cb)Returns whether or not the pixel store has signed pixels.voidpassivate_async(AMD_StatefulServiceInterface_passivate __cb)Causes the blitz server to store the service implementation to disk to free memory.voidprepare_async(AMD_RawPixelsStore_prepare __cb, java.util.List<java.lang.Long> pixelsIds)Prepares the stateful service with a cache of loaded Pixels objects.voidrequiresPixelsPyramid_async(AMD_PyramidService_requiresPixelsPyramid __cb)Whether or not this raw pixels store requires a backing pixels pyramid to provide sub-resolutions of the data.voidsave_async(AMD_RawPixelsStore_save __cb)Save the current state of the pixels, updating the SHA1.voidsetPixelsId_async(AMD_RawPixelsStore_setPixelsId __cb, long pixelsId, boolean bypassOriginalFile)Initializes the stateful service for a given Pixels set.voidsetPlane_async(AMD_RawPixelsStore_setPlane __cb, byte[] buf, int z, int c, int t)Sets a particular 2D image plane in this pixel store.voidsetRegion_async(AMD_RawPixelsStore_setRegion __cb, int size, long offset, byte[] buf)Sets a region in this pixel buffer.voidsetResolutionLevel_async(AMD_PyramidService_setResolutionLevel __cb, int resolutionLevel)Sets the active resolution level.voidsetRow_async(AMD_RawPixelsStore_setRow __cb, byte[] buf, int y, int z, int c, int t)Sets a particular row or scanline in this pixel store.voidsetStack_async(AMD_RawPixelsStore_setStack __cb, byte[] buf, int z, int c, int t)Sets the entire number of optical sections for a single wavelength or channel at a particular timepoint in this pixel store.voidsetTile_async(AMD_RawPixelsStore_setTile __cb, byte[] buf, int z, int c, int t, int x, int y, int w, int h)Sets a tile in this pixel buffer.voidsetTimepoint_async(AMD_RawPixelsStore_setTimepoint __cb, byte[] buf, int t)Sets the entire number of optical sections for all wavelengths or channels at a particular timepoint in this pixel store.-
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
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface omero.api._PyramidServiceOperations
getResolutionDescriptions_async, getResolutionLevel_async, getResolutionLevels_async, getTileSize_async, requiresPixelsPyramid_async, setResolutionLevel_async
-
Methods inherited from interface omero.api._RawPixelsStoreOperations
calculateMessageDigest_async, findMinMax_async, getByteWidth_async, getCol_async, getHistogram_async, getHypercube_async, getPixelsId_async, getPixelsPath_async, getPlane_async, getPlaneOffset_async, getPlaneRegion_async, getPlaneSize_async, getRegion_async, getRow_async, getRowOffset_async, getRowSize_async, getStack_async, getStackOffset_async, getStackSize_async, getTile_async, getTimepoint_async, getTimepointOffset_async, getTimepointSize_async, getTotalSize_async, isFloat_async, isSigned_async, prepare_async, save_async, setPixelsId_async, setPlane_async, setRegion_async, setRow_async, setStack_async, setTile_async, setTimepoint_async
-
Methods inherited from interface omero.api._StatefulServiceInterfaceOperations
activate_async, close_async, getCurrentEventContext_async, passivate_async
-
-
-
-
Field Detail
-
__ids
public static final java.lang.String[] __ids
-
serialVersionUID
public static final long serialVersionUID
- See Also:
- Constant Field Values
-
-
Method Detail
-
ice_copyStateFrom
protected void ice_copyStateFrom(Ice.Object __obj) throws java.lang.CloneNotSupportedException- Throws:
java.lang.CloneNotSupportedException
-
ice_isA
public boolean ice_isA(java.lang.String s)
- Specified by:
ice_isAin interfaceIce.Object- Overrides:
ice_isAin classIce.ObjectImpl
-
ice_isA
public boolean ice_isA(java.lang.String s, Ice.Current __current)- Specified by:
ice_isAin interfaceIce.Object- Overrides:
ice_isAin classIce.ObjectImpl
-
ice_ids
public java.lang.String[] ice_ids()
- Specified by:
ice_idsin interfaceIce.Object- Overrides:
ice_idsin classIce.ObjectImpl
-
ice_ids
public java.lang.String[] ice_ids(Ice.Current __current)
- Specified by:
ice_idsin interfaceIce.Object- Overrides:
ice_idsin classIce.ObjectImpl
-
ice_id
public java.lang.String ice_id()
- Specified by:
ice_idin interfaceIce.Object- Overrides:
ice_idin classIce.ObjectImpl
-
ice_id
public java.lang.String ice_id(Ice.Current __current)
- Specified by:
ice_idin interfaceIce.Object- Overrides:
ice_idin classIce.ObjectImpl
-
ice_staticId
public static java.lang.String ice_staticId()
-
getResolutionDescriptions_async
public final void getResolutionDescriptions_async(AMD_PyramidService_getResolutionDescriptions __cb) throws ServerError
Retrieves a more complete definition of the resolution level in question. The size of this array will be of lengthgetResolutionLevels.- Specified by:
getResolutionDescriptions_asyncin interface_PyramidServiceOperationsNC- Parameters:
__cb- The callback object for the operation.- Throws:
ServerError
-
getResolutionLevel_async
public final void getResolutionLevel_async(AMD_PyramidService_getResolutionLevel __cb) throws ServerError
Retrieves the active resolution level.- Specified by:
getResolutionLevel_asyncin interface_PyramidServiceOperationsNC- Parameters:
__cb- The callback object for the operation.- Throws:
ServerError
-
getResolutionLevels_async
public final void getResolutionLevels_async(AMD_PyramidService_getResolutionLevels __cb) throws ServerError
Retrieves the number of resolution levels that the backing pixels pyramid contains.- Specified by:
getResolutionLevels_asyncin interface_PyramidServiceOperationsNC- Parameters:
__cb- The callback object for the operation.- Throws:
ServerError
-
getTileSize_async
public final void getTileSize_async(AMD_PyramidService_getTileSize __cb) throws ServerError
Retrieves the tile size for the pixel store.- Specified by:
getTileSize_asyncin interface_PyramidServiceOperationsNC- Parameters:
__cb- The callback object for the operation.- Throws:
ServerError
-
requiresPixelsPyramid_async
public final void requiresPixelsPyramid_async(AMD_PyramidService_requiresPixelsPyramid __cb) throws ServerError
Whether or not this raw pixels store requires a backing pixels pyramid to provide sub-resolutions of the data.- Specified by:
requiresPixelsPyramid_asyncin interface_PyramidServiceOperationsNC- Parameters:
__cb- The callback object for the operation.- Throws:
ServerError
-
setResolutionLevel_async
public final void setResolutionLevel_async(AMD_PyramidService_setResolutionLevel __cb, int resolutionLevel) throws ServerError
Sets the active resolution level.- Specified by:
setResolutionLevel_asyncin interface_PyramidServiceOperationsNC- Parameters:
__cb- The callback object for the operation.resolutionLevel- The resolution level to be used by the pixel buffer.- Throws:
ServerError
-
calculateMessageDigest_async
public final void calculateMessageDigest_async(AMD_RawPixelsStore_calculateMessageDigest __cb) throws ServerError
Calculates a SHA-1 message digest for the entire pixel store.- Specified by:
calculateMessageDigest_asyncin interface_RawPixelsStoreOperationsNC- Parameters:
__cb- The callback object for the operation.- Throws:
ServerError
-
findMinMax_async
public final void findMinMax_async(AMD_RawPixelsStore_findMinMax __cb, int[] channels) throws ServerError
Find the minimum and maximum pixel values for the specified channels by iterating over a full plane. In case of multi-z/t images only the 'middle' plane with index maxZ/2, respectively maxT/2 is taken into account. Note: This method can currently only handle non-pyramid images, otherwise an empty map will be returned.- Specified by:
findMinMax_asyncin interface_RawPixelsStoreOperationsNC- Parameters:
__cb- The callback object for the operation.channels- the channels- Throws:
ServerError
-
getByteWidth_async
public final void getByteWidth_async(AMD_RawPixelsStore_getByteWidth __cb) throws ServerError
Returns the byte width for the pixel store.- Specified by:
getByteWidth_asyncin interface_RawPixelsStoreOperationsNC- Parameters:
__cb- The callback object for the operation.- Throws:
ServerError
-
getCol_async
public final void getCol_async(AMD_RawPixelsStore_getCol __cb, int x, int z, int c, int t) throws ServerError
Retrieves a particular column from this pixel store.- Specified by:
getCol_asyncin interface_RawPixelsStoreOperationsNC- Parameters:
__cb- The callback object for the operation.x- offset across the X-axis of the pixel store.c- offset across the C-axis of the pixel store.- Throws:
ServerError
-
getHistogram_async
public final void getHistogram_async(AMD_RawPixelsStore_getHistogram __cb, int[] channels, int binCount, boolean globalRange, PlaneDef plane) throws ServerError
Retrieves the histogram data for the specified plane and channels. This method can currently only handle non-pyramid images.- Specified by:
getHistogram_asyncin interface_RawPixelsStoreOperationsNC- Parameters:
__cb- The callback object for the operation.channels- the channels to generate the histogram data forplane- the plane (optional, default: whole region of first z/t plane)- Throws:
ServerError
-
getHypercube_async
public final void getHypercube_async(AMD_RawPixelsStore_getHypercube __cb, java.util.List<java.lang.Integer> offset, java.util.List<java.lang.Integer> size, java.util.List<java.lang.Integer> step) throws ServerError
Retrieves a n-dimensional block from this pixel store.- Specified by:
getHypercube_asyncin interface_RawPixelsStoreOperationsNC- Parameters:
__cb- The callback object for the operation.offset- offset for each dimension within pixel store.step- needed of each dimension (dependent on dimension).- Throws:
ServerError
-
getPixelsId_async
public final void getPixelsId_async(AMD_RawPixelsStore_getPixelsId __cb) throws ServerError
Returns the current Pixels set identifier.- Specified by:
getPixelsId_asyncin interface_RawPixelsStoreOperationsNC- Parameters:
__cb- The callback object for the operation.- Throws:
ServerError
-
getPixelsPath_async
public final void getPixelsPath_async(AMD_RawPixelsStore_getPixelsPath __cb) throws ServerError
Returns the current Pixels path.- Specified by:
getPixelsPath_asyncin interface_RawPixelsStoreOperationsNC- Parameters:
__cb- The callback object for the operation.- Throws:
ServerError
-
getPlane_async
public final void getPlane_async(AMD_RawPixelsStore_getPlane __cb, int z, int c, int t) throws ServerError
Retrieves a particular 2D image plane from this pixel store.- Specified by:
getPlane_asyncin interface_RawPixelsStoreOperationsNC- Parameters:
__cb- The callback object for the operation.z- offset across the Z-axis of the pixel store.t- offset across the T-axis of the pixel store.- Throws:
ServerError
-
getPlaneOffset_async
public final void getPlaneOffset_async(AMD_RawPixelsStore_getPlaneOffset __cb, int z, int c, int t) throws ServerError
Retrieves the offset for a particular 2D image plane in this pixel store.- Specified by:
getPlaneOffset_asyncin interface_RawPixelsStoreOperationsNC- Parameters:
__cb- The callback object for the operation.z- offset across the Z-axis of the pixel buffer.t- offset across the T-axis of the pixel buffer.- Throws:
ServerError
-
getPlaneRegion_async
public final void getPlaneRegion_async(AMD_RawPixelsStore_getPlaneRegion __cb, int z, int c, int t, int size, int offset) throws ServerError
Retrieves a region from a given plane from this pixel store.- Specified by:
getPlaneRegion_asyncin interface_RawPixelsStoreOperationsNC- Parameters:
__cb- The callback object for the operation.z- offset across the Z-axis of the pixel store.t- offset across the T-axis of the pixel store.offset- the offset at which to retrievesizepixels.- Throws:
ServerError
-
getPlaneSize_async
public final void getPlaneSize_async(AMD_RawPixelsStore_getPlaneSize __cb) throws ServerError
Retrieves the in memory size of a 2D image plane in this pixel store.- Specified by:
getPlaneSize_asyncin interface_RawPixelsStoreOperationsNC- Parameters:
__cb- The callback object for the operation.- Throws:
ServerError
-
getRegion_async
public final void getRegion_async(AMD_RawPixelsStore_getRegion __cb, int size, long offset) throws ServerError
Retrieves a region from this pixel store.- Specified by:
getRegion_asyncin interface_RawPixelsStoreOperationsNC- Parameters:
__cb- The callback object for the operation.size- byte width of the region to retrieve.- Throws:
ServerError
-
getRow_async
public final void getRow_async(AMD_RawPixelsStore_getRow __cb, int y, int z, int c, int t) throws ServerError
Retrieves a particular row or scanline from this pixel store.- Specified by:
getRow_asyncin interface_RawPixelsStoreOperationsNC- Parameters:
__cb- The callback object for the operation.y- offset across the Y-axis of the pixel store.c- offset across the C-axis of the pixel store.- Throws:
ServerError
-
getRowOffset_async
public final void getRowOffset_async(AMD_RawPixelsStore_getRowOffset __cb, int y, int z, int c, int t) throws ServerError
Retrieves the offset for a particular row or scanline in this pixel store.- Specified by:
getRowOffset_asyncin interface_RawPixelsStoreOperationsNC- Parameters:
__cb- The callback object for the operation.y- offset across the Y-axis of the pixel buffer.c- offset across the C-axis of the pixel buffer.- Throws:
ServerError
-
getRowSize_async
public final void getRowSize_async(AMD_RawPixelsStore_getRowSize __cb) throws ServerError
Retrieves the in memory size of a row or scanline of pixels in this pixel store.- Specified by:
getRowSize_asyncin interface_RawPixelsStoreOperationsNC- Parameters:
__cb- The callback object for the operation.- Throws:
ServerError
-
getStack_async
public final void getStack_async(AMD_RawPixelsStore_getStack __cb, int c, int t) throws ServerError
Retrieves the the entire number of optical sections for a single wavelength or channel at a particular timepoint in this pixel store.- Specified by:
getStack_asyncin interface_RawPixelsStoreOperationsNC- Parameters:
__cb- The callback object for the operation.c- offset across the C-axis of the pixel store.- Throws:
ServerError
-
getStackOffset_async
public final void getStackOffset_async(AMD_RawPixelsStore_getStackOffset __cb, int c, int t) throws ServerError
Retrieves the offset for the entire number of optical sections for a single wavelength or channel at a particular timepoint in this pixel store.- Specified by:
getStackOffset_asyncin interface_RawPixelsStoreOperationsNC- Parameters:
__cb- The callback object for the operation.c- offset across the C-axis of the pixel buffer.- Throws:
ServerError
-
getStackSize_async
public final void getStackSize_async(AMD_RawPixelsStore_getStackSize __cb) throws ServerError
Retrieves the in memory size of the entire number of optical sections for a single wavelength or channel at a particular timepoint in this pixel store.- Specified by:
getStackSize_asyncin interface_RawPixelsStoreOperationsNC- Parameters:
__cb- The callback object for the operation.- Throws:
ServerError
-
getTile_async
public final void getTile_async(AMD_RawPixelsStore_getTile __cb, int z, int c, int t, int x, int y, int w, int h) throws ServerError
Retrieves a tile from this pixel buffer.- Specified by:
getTile_asyncin interface_RawPixelsStoreOperationsNC- Parameters:
__cb- The callback object for the operation.z- offset across the Z-axis of the pixel buffer.t- offset across the T-axis of the pixel buffer.y- Top left corner of the tile, Y offset.h- Height of the tile.- Throws:
ServerError
-
getTimepoint_async
public final void getTimepoint_async(AMD_RawPixelsStore_getTimepoint __cb, int t) throws ServerError
Retrieves the entire number of optical sections for all wavelengths or channels at a particular timepoint in this pixel store.- Specified by:
getTimepoint_asyncin interface_RawPixelsStoreOperationsNC- Parameters:
__cb- The callback object for the operation.t- offset across the T-axis of the pixel store.- Throws:
ServerError
-
getTimepointOffset_async
public final void getTimepointOffset_async(AMD_RawPixelsStore_getTimepointOffset __cb, int t) throws ServerError
Retrieves the in memory size of the entire number of optical sections for all wavelengths or channels at a particular timepoint in this pixel store.- Specified by:
getTimepointOffset_asyncin interface_RawPixelsStoreOperationsNC- Parameters:
__cb- The callback object for the operation.t- offset across the T-axis of the pixel buffer.- Throws:
ServerError
-
getTimepointSize_async
public final void getTimepointSize_async(AMD_RawPixelsStore_getTimepointSize __cb) throws ServerError
Retrieves the in memory size of the entire number of optical sections for all wavelengths or channels at a particular timepoint in this pixel store.- Specified by:
getTimepointSize_asyncin interface_RawPixelsStoreOperationsNC- Parameters:
__cb- The callback object for the operation.- Throws:
ServerError
-
getTotalSize_async
public final void getTotalSize_async(AMD_RawPixelsStore_getTotalSize __cb) throws ServerError
Retrieves the in memory size of the entire pixel store.- Specified by:
getTotalSize_asyncin interface_RawPixelsStoreOperationsNC- Parameters:
__cb- The callback object for the operation.- Throws:
ServerError
-
isFloat_async
public final void isFloat_async(AMD_RawPixelsStore_isFloat __cb) throws ServerError
Returns whether or not the pixel buffer has floating point pixels.- Specified by:
isFloat_asyncin interface_RawPixelsStoreOperationsNC- Parameters:
__cb- The callback object for the operation.- Throws:
ServerError
-
isSigned_async
public final void isSigned_async(AMD_RawPixelsStore_isSigned __cb) throws ServerError
Returns whether or not the pixel store has signed pixels.- Specified by:
isSigned_asyncin interface_RawPixelsStoreOperationsNC- Parameters:
__cb- The callback object for the operation.- Throws:
ServerError
-
prepare_async
public final void prepare_async(AMD_RawPixelsStore_prepare __cb, java.util.List<java.lang.Long> pixelsIds) throws ServerError
Prepares the stateful service with a cache of loaded Pixels objects. This method is designed to combat query overhead, where many sets of Pixels are to be read from or written to, by loading all the Pixels sets at once. Multiple calls will result in the existing cache being overwritten.- Specified by:
prepare_asyncin interface_RawPixelsStoreOperationsNC- Parameters:
__cb- The callback object for the operation.pixelsIds- Pixels IDs to cache.- Throws:
ServerError
-
save_async
public final void save_async(AMD_RawPixelsStore_save __cb) throws ServerError
Save the current state of the pixels, updating the SHA1. This should only be called AFTER all data is successfully set. Future invocations of set methods may be disallowed. This read-only status will allow background processing (generation of thumbnails, compression, etc.) to begin. More information underRawPixelsStore. A null instance will be returned if no save was performed.- Specified by:
save_asyncin interface_RawPixelsStoreOperationsNC- Parameters:
__cb- The callback object for the operation.- Throws:
ServerError
-
setPixelsId_async
public final void setPixelsId_async(AMD_RawPixelsStore_setPixelsId __cb, long pixelsId, boolean bypassOriginalFile) throws ServerError
Initializes the stateful service for a given Pixels set.- Specified by:
setPixelsId_asyncin interface_RawPixelsStoreOperationsNC- Parameters:
__cb- The callback object for the operation.pixelsId- Pixels set identifier.- Throws:
ServerError
-
setPlane_async
public final void setPlane_async(AMD_RawPixelsStore_setPlane __cb, byte[] buf, int z, int c, int t) throws ServerError
Sets a particular 2D image plane in this pixel store.- Specified by:
setPlane_asyncin interface_RawPixelsStoreOperationsNC- Parameters:
__cb- The callback object for the operation.buf- a byte array of the data comprising this 2D image plane.c- offset across the C-axis of the pixel store.- Throws:
ServerError
-
setRegion_async
public final void setRegion_async(AMD_RawPixelsStore_setRegion __cb, int size, long offset, byte[] buf) throws ServerError
Sets a region in this pixel buffer.- Specified by:
setRegion_asyncin interface_RawPixelsStoreOperationsNC- Parameters:
__cb- The callback object for the operation.size- byte width of the region to set.buf- a byte array of the data. See Read-only caveat underRawPixelsStore- Throws:
ServerError
-
setRow_async
public final void setRow_async(AMD_RawPixelsStore_setRow __cb, byte[] buf, int y, int z, int c, int t) throws ServerError
Sets a particular row or scanline in this pixel store.- Specified by:
setRow_asyncin interface_RawPixelsStoreOperationsNC- Parameters:
__cb- The callback object for the operation.buf- a byte array of the data comprising this row or scanline.z- offset across the Z-axis of the pixel store.t- offset across the T-axis of the pixel store. See Read-only caveat underRawPixelsStore- Throws:
ServerError
-
setStack_async
public final void setStack_async(AMD_RawPixelsStore_setStack __cb, byte[] buf, int z, int c, int t) throws ServerError
Sets the entire number of optical sections for a single wavelength or channel at a particular timepoint in this pixel store.- Specified by:
setStack_asyncin interface_RawPixelsStoreOperationsNC- Parameters:
__cb- The callback object for the operation.buf- a byte array of the data comprising this stack.t- offset across the T-axis of the pixel store. See Read-only caveat underRawPixelsStore- Throws:
ServerError
-
setTile_async
public final void setTile_async(AMD_RawPixelsStore_setTile __cb, byte[] buf, int z, int c, int t, int x, int y, int w, int h) throws ServerError
Sets a tile in this pixel buffer.- Specified by:
setTile_asyncin interface_RawPixelsStoreOperationsNC- Parameters:
__cb- The callback object for the operation.buf- A byte array of the data.c- offset across the C-axis of the pixel buffer.x- Top left corner of the tile, X offset.w- Width of the tile.- Throws:
IOException- if there is a problem writing to the pixel buffer.BufferOverflowException- if an attempt is made to write off the end of the file. See Read-only caveat underRawPixelsStoreServerError
-
setTimepoint_async
public final void setTimepoint_async(AMD_RawPixelsStore_setTimepoint __cb, byte[] buf, int t) throws ServerError
Sets the entire number of optical sections for all wavelengths or channels at a particular timepoint in this pixel store.- Specified by:
setTimepoint_asyncin interface_RawPixelsStoreOperationsNC- Parameters:
__cb- The callback object for the operation.buf- a byte array of the data comprising this timepoint.- Throws:
ServerError
-
activate_async
public final void activate_async(AMD_StatefulServiceInterface_activate __cb) throws ServerError
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_asyncin interface_StatefulServiceInterfaceOperationsNC- Parameters:
__cb- The callback object for the operation.- Throws:
ServerError
-
close_async
public final void close_async(AMD_StatefulServiceInterface_close __cb) throws ServerError
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_asyncin interface_StatefulServiceInterfaceOperationsNC- Parameters:
__cb- The callback object for the operation.- Throws:
ServerError
-
getCurrentEventContext_async
public final void getCurrentEventContext_async(AMD_StatefulServiceInterface_getCurrentEventContext __cb) throws ServerError
To free clients from tracking the mapping from session to stateful service, each stateful service can returns its own context information.- Specified by:
getCurrentEventContext_asyncin interface_StatefulServiceInterfaceOperationsNC- Parameters:
__cb- The callback object for the operation.- Throws:
ServerError
-
passivate_async
public final void passivate_async(AMD_StatefulServiceInterface_passivate __cb) throws ServerError
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_asyncin interface_StatefulServiceInterfaceOperationsNC- Parameters:
__cb- The callback object for the operation.- Throws:
ServerError
-
___setPixelsId
public static Ice.DispatchStatus ___setPixelsId(RawPixelsStore __obj, IceInternal.Incoming __inS, Ice.Current __current)
-
___getPixelsId
public static Ice.DispatchStatus ___getPixelsId(RawPixelsStore __obj, IceInternal.Incoming __inS, Ice.Current __current)
-
___getPixelsPath
public static Ice.DispatchStatus ___getPixelsPath(RawPixelsStore __obj, IceInternal.Incoming __inS, Ice.Current __current)
-
___prepare
public static Ice.DispatchStatus ___prepare(RawPixelsStore __obj, IceInternal.Incoming __inS, Ice.Current __current)
-
___getPlaneSize
public static Ice.DispatchStatus ___getPlaneSize(RawPixelsStore __obj, IceInternal.Incoming __inS, Ice.Current __current)
-
___getRowSize
public static Ice.DispatchStatus ___getRowSize(RawPixelsStore __obj, IceInternal.Incoming __inS, Ice.Current __current)
-
___getStackSize
public static Ice.DispatchStatus ___getStackSize(RawPixelsStore __obj, IceInternal.Incoming __inS, Ice.Current __current)
-
___getTimepointSize
public static Ice.DispatchStatus ___getTimepointSize(RawPixelsStore __obj, IceInternal.Incoming __inS, Ice.Current __current)
-
___getTotalSize
public static Ice.DispatchStatus ___getTotalSize(RawPixelsStore __obj, IceInternal.Incoming __inS, Ice.Current __current)
-
___getRowOffset
public static Ice.DispatchStatus ___getRowOffset(RawPixelsStore __obj, IceInternal.Incoming __inS, Ice.Current __current)
-
___getPlaneOffset
public static Ice.DispatchStatus ___getPlaneOffset(RawPixelsStore __obj, IceInternal.Incoming __inS, Ice.Current __current)
-
___getStackOffset
public static Ice.DispatchStatus ___getStackOffset(RawPixelsStore __obj, IceInternal.Incoming __inS, Ice.Current __current)
-
___getTimepointOffset
public static Ice.DispatchStatus ___getTimepointOffset(RawPixelsStore __obj, IceInternal.Incoming __inS, Ice.Current __current)
-
___getTile
public static Ice.DispatchStatus ___getTile(RawPixelsStore __obj, IceInternal.Incoming __inS, Ice.Current __current)
-
___getHypercube
public static Ice.DispatchStatus ___getHypercube(RawPixelsStore __obj, IceInternal.Incoming __inS, Ice.Current __current)
-
___getRegion
public static Ice.DispatchStatus ___getRegion(RawPixelsStore __obj, IceInternal.Incoming __inS, Ice.Current __current)
-
___getRow
public static Ice.DispatchStatus ___getRow(RawPixelsStore __obj, IceInternal.Incoming __inS, Ice.Current __current)
-
___getCol
public static Ice.DispatchStatus ___getCol(RawPixelsStore __obj, IceInternal.Incoming __inS, Ice.Current __current)
-
___getPlane
public static Ice.DispatchStatus ___getPlane(RawPixelsStore __obj, IceInternal.Incoming __inS, Ice.Current __current)
-
___getPlaneRegion
public static Ice.DispatchStatus ___getPlaneRegion(RawPixelsStore __obj, IceInternal.Incoming __inS, Ice.Current __current)
-
___getStack
public static Ice.DispatchStatus ___getStack(RawPixelsStore __obj, IceInternal.Incoming __inS, Ice.Current __current)
-
___getTimepoint
public static Ice.DispatchStatus ___getTimepoint(RawPixelsStore __obj, IceInternal.Incoming __inS, Ice.Current __current)
-
___setTile
public static Ice.DispatchStatus ___setTile(RawPixelsStore __obj, IceInternal.Incoming __inS, Ice.Current __current)
-
___setRegion
public static Ice.DispatchStatus ___setRegion(RawPixelsStore __obj, IceInternal.Incoming __inS, Ice.Current __current)
-
___setRow
public static Ice.DispatchStatus ___setRow(RawPixelsStore __obj, IceInternal.Incoming __inS, Ice.Current __current)
-
___setPlane
public static Ice.DispatchStatus ___setPlane(RawPixelsStore __obj, IceInternal.Incoming __inS, Ice.Current __current)
-
___setStack
public static Ice.DispatchStatus ___setStack(RawPixelsStore __obj, IceInternal.Incoming __inS, Ice.Current __current)
-
___setTimepoint
public static Ice.DispatchStatus ___setTimepoint(RawPixelsStore __obj, IceInternal.Incoming __inS, Ice.Current __current)
-
___getHistogram
public static Ice.DispatchStatus ___getHistogram(RawPixelsStore __obj, IceInternal.Incoming __inS, Ice.Current __current)
-
___findMinMax
public static Ice.DispatchStatus ___findMinMax(RawPixelsStore __obj, IceInternal.Incoming __inS, Ice.Current __current)
-
___getByteWidth
public static Ice.DispatchStatus ___getByteWidth(RawPixelsStore __obj, IceInternal.Incoming __inS, Ice.Current __current)
-
___isSigned
public static Ice.DispatchStatus ___isSigned(RawPixelsStore __obj, IceInternal.Incoming __inS, Ice.Current __current)
-
___isFloat
public static Ice.DispatchStatus ___isFloat(RawPixelsStore __obj, IceInternal.Incoming __inS, Ice.Current __current)
-
___calculateMessageDigest
public static Ice.DispatchStatus ___calculateMessageDigest(RawPixelsStore __obj, IceInternal.Incoming __inS, Ice.Current __current)
-
___save
public static Ice.DispatchStatus ___save(RawPixelsStore __obj, IceInternal.Incoming __inS, Ice.Current __current)
-
__dispatch
public Ice.DispatchStatus __dispatch(IceInternal.Incoming in, Ice.Current __current)- Specified by:
__dispatchin interfaceIce.Object- Overrides:
__dispatchin classIce.ObjectImpl
-
__writeImpl
protected void __writeImpl(IceInternal.BasicStream __os)
- Overrides:
__writeImplin classIce.ObjectImpl
-
__readImpl
protected void __readImpl(IceInternal.BasicStream __is)
- Overrides:
__readImplin classIce.ObjectImpl
-
-