T
- Type of values returned by the visitor.public interface DurabilityVisitor<T>
A durability level can be either an integer or a symbolic name, so a visitor interface is used handle both cases in a type-safe way.
Modifier and Type | Method and Description |
---|---|
T |
visitDurabilityLevel(DurabilityLevel level)
Visit a symbolic durability level.
|
T |
visitInteger(int numberOfInstances)
Visit an explicit durability setting.
|
T visitInteger(int numberOfInstances)
numberOfInstances
- Number of instances that must ingest a commit for it
to be considered durable.T visitDurabilityLevel(DurabilityLevel level)
level
- Durability level name.Copyright © 2024 Franz Inc.. All rights reserved.