com.netflix.zeno.diff.history
Class DiffHistoryDataState
java.lang.Object
com.netflix.zeno.diff.history.DiffHistoryDataState
public class DiffHistoryDataState
- extends java.lang.Object
A complete historical representation of the objects available in a FastBlobStateEngine at some point in time.
This representation contains all of the objects of each type specified in a set of TypeDiffInstructions, keyed
by the keys specified in thos TypeDiffInstructions.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DiffHistoryDataState
public DiffHistoryDataState(FastBlobStateEngine stateEngine,
TypeDiffInstruction<?>[] typeInstructions)
- Create a new DiffHistoryDataState. Pulls data from the supplied FastBlobStateEngine in the manner
specified by the supplied set of TypeDiffInstructions.
- Parameters:
stateEngine
- typeInstructions
-
getTypeStateNames
public java.util.Set<java.lang.String> getTypeStateNames()
getVersion
public java.lang.String getVersion()
getTypeState
public <K,V> java.util.Map<K,V> getTypeState(java.lang.String name)