T
- Type of the input eventspublic class ComputationState<T> extends Object
Constructor and Description |
---|
ComputationState(State<T> currentState,
T event,
long timestamp,
DeweyNumber version,
long startTimestamp) |
Modifier and Type | Method and Description |
---|---|
T |
getEvent() |
long |
getStartTimestamp() |
State<T> |
getState() |
long |
getTimestamp() |
DeweyNumber |
getVersion() |
boolean |
isFinalState() |
boolean |
isStartState() |
public ComputationState(State<T> currentState, T event, long timestamp, DeweyNumber version, long startTimestamp)
public boolean isFinalState()
public boolean isStartState()
public long getTimestamp()
public long getStartTimestamp()
public T getEvent()
public DeweyNumber getVersion()
Copyright © 2014–2017 The Apache Software Foundation. All rights reserved.