public class OutputDataSetHandleCopier extends java.lang.Object implements Finalizable
| Modifier and Type | Field and Description |
|---|---|
private handle |
called
Called-side
DataSet handle. |
private DataSetParameter |
calling
Calling-side
DataSet parameter. |
private static NanoTimer |
COPIER
Instrumentation for
finished(). |
private DataSet |
dsToDelete
DataSet postponed for deletion. |
private java.util.Map<OutputDataSetHandleCopier,java.lang.Integer> |
siblings
Map of all output copiers for the procedure/function for which this copier is registered, to
their 0-based indexes in the set of all DATASET-HANDLE parameters for the procedure/function
(excluding other types of parameters).
|
| Constructor and Description |
|---|
OutputDataSetHandleCopier(DataSetParameter calling,
handle called)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
deleted()
No-op.
|
void |
finished()
Copies data in OUTPUT direction in DataSet-handle parameter case.
|
private void |
finishedImpl()
Copies data in OUTPUT direction in DataSet-handle parameter case.
|
handle |
getCalled()
Get called-side
DataSet handle. |
void |
iterate()
No-op.
|
void |
retry()
No-op.
|
void |
setDataSetToDelete(DataSet dsToDelete)
Set
DataSet for postponed deletion. |
void |
setSiblingsMap(java.util.Map<OutputDataSetHandleCopier,java.lang.Integer> siblings)
Set the map of all output copiers for the procedure/function for which this copier is
registered, to their 0-based indexes in the set of all DATASET-HANDLE parameters for the
procedure/function (excluding other types of parameters).
|
WeightFactor |
weight()
Get the weight of this finalizable.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitentry, initFailureprivate static final NanoTimer COPIER
finished().private final DataSetParameter calling
DataSet parameter.private final handle called
DataSet handle.private DataSet dsToDelete
DataSet postponed for deletion.private java.util.Map<OutputDataSetHandleCopier,java.lang.Integer> siblings
public OutputDataSetHandleCopier(DataSetParameter calling, handle called)
calling - Calling-side DataSet parameter.called - Called-side DataSet handle.public void finished()
finished in interface Finalizableprivate void finishedImpl()
public void deleted()
deleted in interface Finalizablepublic void iterate()
iterate in interface Finalizablepublic void retry()
retry in interface Finalizablepublic WeightFactor weight()
weight, before they are processed.weight in interface FinalizableWeightFactor.FIRST.public void setDataSetToDelete(DataSet dsToDelete)
DataSet for postponed deletion.dsToDelete - DataSet for postponed deletion.public handle getCalled()
DataSet handle.DataSet handle.public void setSiblingsMap(java.util.Map<OutputDataSetHandleCopier,java.lang.Integer> siblings)
siblings - See above.