|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--ostore.network.patchwork.PatchworkTable.Delta
A PatchworkTable.Delta
object contains a diff
of the sufficient statistics for a PatchworkTable
.
Constructor Summary | |
PatchworkTable.Delta(InputBuffer buffer)
Construct a Delta from its
QuickSerializable form. |
|
PatchworkTable.Delta(QSVector toBeRemoved)
Construct a new Delta . |
Method Summary | |
void |
addDelta(PatchworkStats.StatDelta d)
|
Object |
clone()
Clone this delta |
QSVector |
getDeltas()
Returns a QSVector containing all the delta
information. |
NodeId[] |
getNodesChanged(byte type)
Get the list of NodeIds that have a change in a certain type of statistics (i.e. |
QSVector |
getToBeRemoved()
Get the list of NodeId s whose statistics should be
removed from the Table |
void |
serialize(OutputBuffer buffer)
Specified by ostore.util.QuickSerializable |
String |
toString()
Returns a String representation of this Delta |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public PatchworkTable.Delta(InputBuffer buffer) throws QSException
Delta
from its
QuickSerializable
form.public PatchworkTable.Delta(QSVector toBeRemoved)
Delta
.toBeRemoved
- a QSVector
of NodeId
s
that should be removed from the
Table
.Method Detail |
public void addDelta(PatchworkStats.StatDelta d)
public QSVector getDeltas()
QSVector
containing all the delta
information.QSVector
of deltaspublic QSVector getToBeRemoved()
NodeId
s whose statistics should be
removed from the Table
public NodeId[] getNodesChanged(byte type)
public void serialize(OutputBuffer buffer)
serialize
in interface QuickSerializable
ostore.util.QuickSerializable
buffer
- the output buffer to add the object topublic Object clone() throws CloneNotSupportedException
clone
in class Object
public String toString()
Delta
toString
in class Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |