Package discord4j.common.store.impl
Class StorageConfig
java.lang.Object
discord4j.common.store.impl.StorageConfig
Holds the storage configuration for a
LocalStoreLayout.-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic StorageConfig.Builderbuilder()Creates a new builder to customize aStorageConfig.Returns the filter represented as a subset ofInvalidationCauseto apply when a shard is invalidated.Returns theStorageBackendto use for message caching.
-
Method Details
-
builder
Creates a new builder to customize aStorageConfig.- Returns:
- a new builder
-
getMessageBackend
Returns theStorageBackendto use for message caching.- Returns:
- the message backend
-
getInvalidationFilter
Returns the filter represented as a subset ofInvalidationCauseto apply when a shard is invalidated.- Returns:
- the invalidation filter
-