DiskUsage2
instead@Deprecated public class DiskUsageI extends DiskUsage implements IRequest, ome.services.util.ReadOnlyStatus.IsAware
__ids, classes, objects, serialVersionUID
Constructor and Description |
---|
DiskUsageI(ome.io.nio.PixelsService pixelsService,
ome.io.nio.ThumbnailService thumbnailService,
ome.services.graphs.GraphPathBean graphPathBean)
Deprecated.
Construct a disk usage request.
|
Modifier and Type | Method and Description |
---|---|
void |
buildResponse(int step,
java.lang.Object object)
Deprecated.
Post-transaction chance to map from the return value of
IRequest.step(int) to a Response object. |
void |
finish()
Deprecated.
Method within the transaction boundaries after all processing has
occurred.
|
com.google.common.collect.ImmutableMap<java.lang.String,java.lang.String> |
getCallContext()
Deprecated.
Returns the desired call context for this request.
|
Response |
getResponse()
Deprecated.
Returns the current response value.
|
void |
init(Helper helper)
Deprecated.
Method called within the transaction boundaries before any processing occurs.
|
boolean |
isReadOnly(ome.services.util.ReadOnlyStatus readOnly)
Deprecated.
|
DiskUsageResponse |
step(int step)
Deprecated.
Single uncancellable action which will be performed by this IRequest.
|
__readImpl, __writeImpl, clone, ice_factory, ice_id, ice_id, ice_ids, ice_ids, ice_isA, ice_isA, ice_staticId
public DiskUsageI(ome.io.nio.PixelsService pixelsService, ome.io.nio.ThumbnailService thumbnailService, ome.services.graphs.GraphPathBean graphPathBean)
pixelsService
- the pixels servicethumbnailService
- the thumbnail servicegraphPathBean
- the graph path beanpublic com.google.common.collect.ImmutableMap<java.lang.String,java.lang.String> getCallContext()
IRequest
Map
as desired.getCallContext
in interface IRequest
public void init(Helper helper)
IRequest
Status
object by calling Helper.setSteps(int)
. This count
will define how many times the IRequest.step(int)
method will be called.
The Helper
instance passed in contains those resources needed by
IRequests to interact with data and should be stored for later use.public DiskUsageResponse step(int step) throws HandleI.Cancel
IRequest
IRequest.buildResponse(int, Object)
for conversion and storage.step
in interface IRequest
step
- the step numberHandleI.Cancel
- if this request is cancelledpublic void finish()
IRequest
HandleI.Cancel
will still rollback the current
transaction.public void buildResponse(int step, java.lang.Object object)
IRequest
IRequest.step(int)
to a Response
object.buildResponse
in interface IRequest
step
- the step numberobject
- an object to be used in building the responsepublic Response getResponse()
IRequest
getResponse
in interface IRequest
public boolean isReadOnly(ome.services.util.ReadOnlyStatus readOnly)
isReadOnly
in interface ome.services.util.ReadOnlyStatus.IsAware