public class InternalTimersSnapshot<K,N> extends Object
Constructor and Description |
---|
InternalTimersSnapshot()
Empty constructor used when restoring the timers.
|
InternalTimersSnapshot(TypeSerializer<K> keySerializer,
TypeSerializer<N> namespaceSerializer,
Set<TimerHeapInternalTimer<K,N>> eventTimeTimers,
Set<TimerHeapInternalTimer<K,N>> processingTimeTimers)
Constructor to use when snapshotting the timers.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
Set<TimerHeapInternalTimer<K,N>> |
getEventTimeTimers() |
TypeSerializerSnapshot<K> |
getKeySerializerSnapshot() |
TypeSerializerSnapshot<N> |
getNamespaceSerializerSnapshot() |
Set<TimerHeapInternalTimer<K,N>> |
getProcessingTimeTimers() |
int |
hashCode() |
void |
setEventTimeTimers(Set<TimerHeapInternalTimer<K,N>> eventTimeTimers) |
void |
setKeySerializerSnapshot(TypeSerializerSnapshot<K> keySerializerConfigSnapshot) |
void |
setNamespaceSerializerSnapshot(TypeSerializerSnapshot<N> namespaceSerializerConfigSnapshot) |
void |
setProcessingTimeTimers(Set<TimerHeapInternalTimer<K,N>> processingTimeTimers) |
public InternalTimersSnapshot()
public InternalTimersSnapshot(TypeSerializer<K> keySerializer, TypeSerializer<N> namespaceSerializer, @Nullable Set<TimerHeapInternalTimer<K,N>> eventTimeTimers, @Nullable Set<TimerHeapInternalTimer<K,N>> processingTimeTimers)
public TypeSerializerSnapshot<K> getKeySerializerSnapshot()
public void setKeySerializerSnapshot(TypeSerializerSnapshot<K> keySerializerConfigSnapshot)
public TypeSerializerSnapshot<N> getNamespaceSerializerSnapshot()
public void setNamespaceSerializerSnapshot(TypeSerializerSnapshot<N> namespaceSerializerConfigSnapshot)
public Set<TimerHeapInternalTimer<K,N>> getEventTimeTimers()
public void setEventTimeTimers(Set<TimerHeapInternalTimer<K,N>> eventTimeTimers)
public Set<TimerHeapInternalTimer<K,N>> getProcessingTimeTimers()
public void setProcessingTimeTimers(Set<TimerHeapInternalTimer<K,N>> processingTimeTimers)
Copyright © 2014–2021 The Apache Software Foundation. All rights reserved.