public class CatchupSubscriptionModelConfig
extends java.lang.Object
CatchupSubscriptionModel| Modifier and Type | Field and Description |
|---|---|
int |
cacheSize |
SubscriptionPositionStorageConfig |
subscriptionStorageConfig |
| Constructor and Description |
|---|
CatchupSubscriptionModelConfig(int cacheSize) |
CatchupSubscriptionModelConfig(int cacheSize,
SubscriptionPositionStorageConfig subscriptionStorageConfig) |
CatchupSubscriptionModelConfig(SubscriptionPositionStorageConfig subscriptionStorageConfig) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object o) |
int |
hashCode() |
java.lang.String |
toString() |
public final int cacheSize
public final SubscriptionPositionStorageConfig subscriptionStorageConfig
public CatchupSubscriptionModelConfig(int cacheSize)
cacheSize - The number of cloud events id's to store in-memory when switching from "catch-up" mode (i.e. querying the EventStoreQueries API)
and "subscription" mode (Subscription). The cache is needed to reduce the number of duplicate events the occurs when switching.public CatchupSubscriptionModelConfig(SubscriptionPositionStorageConfig subscriptionStorageConfig)
subscriptionStorageConfig - Configures if and how subscription position persistence should be handled during the catch-up phase.public CatchupSubscriptionModelConfig(int cacheSize,
SubscriptionPositionStorageConfig subscriptionStorageConfig)
cacheSize - The number of cloud events id's to store in-memory when switching from "catch-up" mode (i.e. querying the EventStoreQueries API)
and "subscription" mode (Subscription). The cache is needed to reduce the number of duplicate events the occurs when switching.subscriptionStorageConfig - Configures if and how subscription position persistence should be handled during the catch-up phase.Copyright © 2021. All rights reserved.