public class State extends Object
Constructor | Description |
---|---|
State(boolean makeCheckpoint) |
Modifier and Type | Method | Description |
---|---|---|
void |
addLevel(StateLevel stateLevel) |
|
int |
decLevel() |
|
int |
getBatchIndex() |
|
<T extends DecoderState> |
getDecoderState() |
|
StateLevel |
getLastLevel() |
|
List<StateLevel> |
getLevels() |
|
int |
incLevel() |
|
boolean |
isMakeCheckpoint() |
|
void |
resetLevel() |
|
void |
setBatchIndex(int index) |
|
void |
setDecoderState(DecoderState decoderState) |
|
String |
toString() |
public boolean isMakeCheckpoint()
public void resetLevel()
public int decLevel()
public int incLevel()
public StateLevel getLastLevel()
public void addLevel(StateLevel stateLevel)
public List<StateLevel> getLevels()
public void setBatchIndex(int index)
public int getBatchIndex()
public <T extends DecoderState> T getDecoderState()
public void setDecoderState(DecoderState decoderState)
Copyright © 2014–2018 The Redisson Project. All rights reserved.