public class RocksDBFullSnapshotResources<K> extends Object implements org.apache.flink.runtime.state.FullSnapshotResources<K>
FullSnapshotResources for the RocksDB backend.| 构造器和说明 |
|---|
RocksDBFullSnapshotResources(org.apache.flink.util.ResourceGuard.Lease lease,
org.rocksdb.Snapshot snapshot,
List<RocksDBKeyedStateBackend.RocksDbKvStateInfo> metaDataCopy,
List<org.apache.flink.runtime.state.heap.HeapPriorityQueueStateSnapshot<?>> heapPriorityQueuesSnapshots,
List<org.apache.flink.runtime.state.metainfo.StateMetaInfoSnapshot> stateMetaInfoSnapshots,
org.rocksdb.RocksDB db,
int keyGroupPrefixBytes,
org.apache.flink.runtime.state.KeyGroupRange keyGroupRange,
org.apache.flink.api.common.typeutils.TypeSerializer<K> keySerializer,
org.apache.flink.runtime.state.StreamCompressionDecorator streamCompressionDecorator) |
| 限定符和类型 | 方法和说明 |
|---|---|
static <K> RocksDBFullSnapshotResources<K> |
create(LinkedHashMap<String,RocksDBKeyedStateBackend.RocksDbKvStateInfo> kvStateInformation,
Map<String,org.apache.flink.runtime.state.heap.HeapPriorityQueueSnapshotRestoreWrapper<?>> registeredPQStates,
org.rocksdb.RocksDB db,
org.apache.flink.util.ResourceGuard rocksDBResourceGuard,
org.apache.flink.runtime.state.KeyGroupRange keyGroupRange,
org.apache.flink.api.common.typeutils.TypeSerializer<K> keySerializer,
int keyGroupPrefixBytes,
org.apache.flink.runtime.state.StreamCompressionDecorator keyGroupCompressionDecorator) |
org.apache.flink.runtime.state.KeyValueStateIterator |
createKVStateIterator() |
org.apache.flink.runtime.state.KeyGroupRange |
getKeyGroupRange() |
org.apache.flink.api.common.typeutils.TypeSerializer<K> |
getKeySerializer() |
List<org.apache.flink.runtime.state.metainfo.StateMetaInfoSnapshot> |
getMetaInfoSnapshots() |
org.apache.flink.runtime.state.StreamCompressionDecorator |
getStreamCompressionDecorator() |
void |
release() |
public RocksDBFullSnapshotResources(org.apache.flink.util.ResourceGuard.Lease lease,
org.rocksdb.Snapshot snapshot,
List<RocksDBKeyedStateBackend.RocksDbKvStateInfo> metaDataCopy,
List<org.apache.flink.runtime.state.heap.HeapPriorityQueueStateSnapshot<?>> heapPriorityQueuesSnapshots,
List<org.apache.flink.runtime.state.metainfo.StateMetaInfoSnapshot> stateMetaInfoSnapshots,
org.rocksdb.RocksDB db,
int keyGroupPrefixBytes,
org.apache.flink.runtime.state.KeyGroupRange keyGroupRange,
org.apache.flink.api.common.typeutils.TypeSerializer<K> keySerializer,
org.apache.flink.runtime.state.StreamCompressionDecorator streamCompressionDecorator)
public static <K> RocksDBFullSnapshotResources<K> create(LinkedHashMap<String,RocksDBKeyedStateBackend.RocksDbKvStateInfo> kvStateInformation, Map<String,org.apache.flink.runtime.state.heap.HeapPriorityQueueSnapshotRestoreWrapper<?>> registeredPQStates, org.rocksdb.RocksDB db, org.apache.flink.util.ResourceGuard rocksDBResourceGuard, org.apache.flink.runtime.state.KeyGroupRange keyGroupRange, org.apache.flink.api.common.typeutils.TypeSerializer<K> keySerializer, int keyGroupPrefixBytes, org.apache.flink.runtime.state.StreamCompressionDecorator keyGroupCompressionDecorator) throws IOException
IOExceptionpublic org.apache.flink.runtime.state.KeyValueStateIterator createKVStateIterator()
throws IOException
createKVStateIterator 在接口中 org.apache.flink.runtime.state.FullSnapshotResources<K>IOExceptionpublic List<org.apache.flink.runtime.state.metainfo.StateMetaInfoSnapshot> getMetaInfoSnapshots()
getMetaInfoSnapshots 在接口中 org.apache.flink.runtime.state.FullSnapshotResources<K>public org.apache.flink.runtime.state.KeyGroupRange getKeyGroupRange()
getKeyGroupRange 在接口中 org.apache.flink.runtime.state.FullSnapshotResources<K>public org.apache.flink.api.common.typeutils.TypeSerializer<K> getKeySerializer()
getKeySerializer 在接口中 org.apache.flink.runtime.state.FullSnapshotResources<K>public org.apache.flink.runtime.state.StreamCompressionDecorator getStreamCompressionDecorator()
getStreamCompressionDecorator 在接口中 org.apache.flink.runtime.state.FullSnapshotResources<K>public void release()
release 在接口中 org.apache.flink.runtime.state.SnapshotResourcesCopyright © 2014–2023 The Apache Software Foundation. All rights reserved.