| Package | Description |
|---|---|
| org.apache.flink.runtime.checkpoint | |
| org.apache.flink.runtime.state |
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractAsyncSnapshotIOCallable<H extends StateObject>
Abstract base class for async IO operations of snapshots against a
CheckedOutputStream. |
| Modifier and Type | Class and Description |
|---|---|
class |
ChainedStateHandle<T extends StateObject>
Handle to state handles for the operators in an operator chain.
|
interface |
Snapshotable<S extends StateObject>
Interface for operators that can perform snapshots of their state.
|
| Modifier and Type | Interface and Description |
|---|---|
interface |
CompositeStateHandle
Base of all snapshots that are taken by
StateBackends and some other
components in tasks. |
interface |
KeyedStateHandle
Base for the handles of the checkpointed states in keyed streams.
|
interface |
RetrievableStateHandle<T extends Serializable>
Handle to state that can be read back again via
RetrievableStateHandle.retrieveState(). |
interface |
StreamStateHandle
A
StateObject that represents state that was written to a stream. |
| Modifier and Type | Method and Description |
|---|---|
static <T extends StateObject> |
ChainedStateHandle.wrapSingleHandle(T stateHandleToWrap) |
| Modifier and Type | Method and Description |
|---|---|
static long |
StateUtil.getStateSize(StateObject handle)
Returns the size of a state object
|
| Modifier and Type | Method and Description |
|---|---|
static void |
StateUtil.bestEffortDiscardAllStateObjects(Iterable<? extends StateObject> handlesToDiscard)
Iterates through the passed state handles and calls discardState() on each handle that is not null.
|
static void |
StateUtil.discardStateFuture(RunnableFuture<? extends StateObject> stateFuture)
Discards the given state future by first trying to cancel it.
|
Copyright © 2014–2017 The Apache Software Foundation. All rights reserved.