public class CreatePolicy
extends java.lang.Object
The CreatePolicy specifies per-object policy information when adding objects to a ScaleOut in-memory data grid.
CreatePolicy are immutable and created using a CreatePolicyBuilder.
| Constructor and Description |
|---|
CreatePolicy(CreatePolicyBuilder builder)
Construct a
CreatePolicy based on the CreatePolicyBuilder. |
| Modifier and Type | Method and Description |
|---|---|
java.time.Duration |
getBackingStoreEventInterval()
Retrieves the configured backing store event interval.
|
BackingStoreMode |
getBackingStoreMode()
Retrieves the configured
BackingStoreMode. |
java.time.Duration |
getGeoServerCoherencyInterval()
Retrieves the configured coherency interval for GeoServer polling operations.
|
GeoServerCoherencyPolicy |
getGeoServerCoherencyPolicy()
Retrieves the configured
GeoServerCoherencyPolicy. |
GeoServerPullPolicy |
getGeoServerPullPolicy()
Retrieves the configured
GeoServerPullPolicy. |
GeoServerPushPolicy |
getGeoServerPushPolicy()
Retrieves the configured
GeoServerPushPolicy. |
java.time.Duration |
getObjectTimeout()
Retrieves the configured object timeout.
|
PreemptionPriority |
getPreemptionPriority()
Retrieves the configured
PreemptionPriority |
TimeoutType |
getTimeoutType()
Retrieves the configured object
TimeoutType. |
public CreatePolicy(CreatePolicyBuilder builder)
CreatePolicy based on the CreatePolicyBuilder.builder - the builder.public GeoServerCoherencyPolicy getGeoServerCoherencyPolicy()
GeoServerCoherencyPolicy.GeoServerCoherencyPolicypublic java.time.Duration getGeoServerCoherencyInterval()
public GeoServerPullPolicy getGeoServerPullPolicy()
GeoServerPullPolicy.GeoServerPullPolicypublic GeoServerPushPolicy getGeoServerPushPolicy()
GeoServerPushPolicy.GeoServerPushPolicypublic PreemptionPriority getPreemptionPriority()
PreemptionPriorityPreemptionPrioritypublic java.time.Duration getObjectTimeout()
public TimeoutType getTimeoutType()
TimeoutType.TimeoutTypepublic BackingStoreMode getBackingStoreMode()
BackingStoreMode.BackingStoreModepublic java.time.Duration getBackingStoreEventInterval()