Package com.linkedin.venice.meta
Class HybridStoreConfigImpl
java.lang.Object
com.linkedin.venice.meta.HybridStoreConfigImpl
- All Implemented Interfaces:
DataModelBackedStructure<StoreHybridConfig>
,HybridStoreConfig
A container of Hybrid Store related configurations.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final long
static final long
static final String
static final long
-
Constructor Summary
ConstructorDescriptionHybridStoreConfigImpl
(long rewindTimeInSeconds, long offsetLagThresholdToGoOnline, long producerTimestampLagThresholdToGoOnlineInSeconds, DataReplicationPolicy dataReplicationPolicy, BufferReplayPolicy bufferReplayPolicy) HybridStoreConfigImpl
(long rewindTimeInSeconds, long offsetLagThresholdToGoOnline, long producerTimestampLagThresholdToGoOnlineInSeconds, DataReplicationPolicy dataReplicationPolicy, BufferReplayPolicy bufferReplayPolicy, String realTimeTopicName) -
Method Summary
Modifier and TypeMethodDescriptionclone()
Return the backed data model.boolean
long
long
long
int
hashCode()
void
setDataReplicationPolicy
(DataReplicationPolicy dataReplicationPolicy) void
setOffsetLagThresholdToGoOnline
(long offsetLagThresholdToGoOnline) void
setRealTimeTopicName
(String realTimeTopicName) void
setRewindTimeInSeconds
(long rewindTimeInSeconds)
-
Field Details
-
DEFAULT_REWIND_TIME_IN_SECONDS
public static final long DEFAULT_REWIND_TIME_IN_SECONDS- See Also:
-
DEFAULT_HYBRID_TIME_LAG_THRESHOLD
public static final long DEFAULT_HYBRID_TIME_LAG_THRESHOLD- See Also:
-
DEFAULT_HYBRID_OFFSET_LAG_THRESHOLD
public static final long DEFAULT_HYBRID_OFFSET_LAG_THRESHOLD- See Also:
-
DEFAULT_REAL_TIME_TOPIC_NAME
- See Also:
-
-
Constructor Details
-
HybridStoreConfigImpl
public HybridStoreConfigImpl(long rewindTimeInSeconds, long offsetLagThresholdToGoOnline, long producerTimestampLagThresholdToGoOnlineInSeconds, DataReplicationPolicy dataReplicationPolicy, BufferReplayPolicy bufferReplayPolicy) -
HybridStoreConfigImpl
public HybridStoreConfigImpl(long rewindTimeInSeconds, long offsetLagThresholdToGoOnline, long producerTimestampLagThresholdToGoOnlineInSeconds, DataReplicationPolicy dataReplicationPolicy, BufferReplayPolicy bufferReplayPolicy, String realTimeTopicName)
-
-
Method Details
-
getRewindTimeInSeconds
public long getRewindTimeInSeconds()- Specified by:
getRewindTimeInSeconds
in interfaceHybridStoreConfig
-
getOffsetLagThresholdToGoOnline
public long getOffsetLagThresholdToGoOnline()- Specified by:
getOffsetLagThresholdToGoOnline
in interfaceHybridStoreConfig
-
setRewindTimeInSeconds
public void setRewindTimeInSeconds(long rewindTimeInSeconds) - Specified by:
setRewindTimeInSeconds
in interfaceHybridStoreConfig
-
setOffsetLagThresholdToGoOnline
public void setOffsetLagThresholdToGoOnline(long offsetLagThresholdToGoOnline) - Specified by:
setOffsetLagThresholdToGoOnline
in interfaceHybridStoreConfig
-
getProducerTimestampLagThresholdToGoOnlineInSeconds
public long getProducerTimestampLagThresholdToGoOnlineInSeconds()- Specified by:
getProducerTimestampLagThresholdToGoOnlineInSeconds
in interfaceHybridStoreConfig
-
getDataReplicationPolicy
- Specified by:
getDataReplicationPolicy
in interfaceHybridStoreConfig
-
setDataReplicationPolicy
- Specified by:
setDataReplicationPolicy
in interfaceHybridStoreConfig
-
getBufferReplayPolicy
- Specified by:
getBufferReplayPolicy
in interfaceHybridStoreConfig
-
getRealTimeTopicName
- Specified by:
getRealTimeTopicName
in interfaceHybridStoreConfig
-
setRealTimeTopicName
- Specified by:
setRealTimeTopicName
in interfaceHybridStoreConfig
-
dataModel
Description copied from interface:DataModelBackedStructure
Return the backed data model.- Specified by:
dataModel
in interfaceDataModelBackedStructure<StoreHybridConfig>
- Returns:
-
equals
-
hashCode
public int hashCode() -
clone
- Specified by:
clone
in interfaceHybridStoreConfig
- Overrides:
clone
in classObject
-