@Internal public class InternalTimersSnapshotReaderWriters extends Object
InternalTimersSnapshot.
Outdated formats are also kept here for documentation of history backlog.| Modifier and Type | Class and Description |
|---|---|
static interface |
InternalTimersSnapshotReaderWriters.InternalTimersSnapshotReader<K,N>
A reader for a
InternalTimersSnapshot. |
static interface |
InternalTimersSnapshotReaderWriters.InternalTimersSnapshotWriter
A writer for a
InternalTimersSnapshot. |
static class |
InternalTimersSnapshotReaderWriters.LegacyTimerSerializer<K,N>
A
TypeSerializer used to serialize/deserialize a TimerHeapInternalTimer. |
| Modifier and Type | Field and Description |
|---|---|
static int |
NO_VERSION |
| Constructor and Description |
|---|
InternalTimersSnapshotReaderWriters() |
| Modifier and Type | Method and Description |
|---|---|
static <K,N> InternalTimersSnapshotReaderWriters.InternalTimersSnapshotReader<K,N> |
getReaderForVersion(int version,
ClassLoader userCodeClassLoader) |
static <K,N> InternalTimersSnapshotReaderWriters.InternalTimersSnapshotWriter |
getWriterForVersion(int version,
InternalTimersSnapshot<K,N> timersSnapshot) |
public static final int NO_VERSION
public static <K,N> InternalTimersSnapshotReaderWriters.InternalTimersSnapshotWriter getWriterForVersion(int version, InternalTimersSnapshot<K,N> timersSnapshot)
public static <K,N> InternalTimersSnapshotReaderWriters.InternalTimersSnapshotReader<K,N> getReaderForVersion(int version, ClassLoader userCodeClassLoader)
Copyright © 2014–2019 The Apache Software Foundation. All rights reserved.