com.netflix.zeno.diff.history
Class DiffHistoryDataState

java.lang.Object
  extended by 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.


Constructor Summary
DiffHistoryDataState(FastBlobStateEngine stateEngine, TypeDiffInstruction<?>[] typeInstructions)
          Create a new DiffHistoryDataState.
 
Method Summary
<K,V> java.util.Map<K,V>
getTypeState(java.lang.String name)
           
 java.util.Set<java.lang.String> getTypeStateNames()
           
 java.lang.String getVersion()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

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 -
Method Detail

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)