Package com.scaleout.client.caching
Class CreatePolicy
java.lang.Object
com.scaleout.client.caching.CreatePolicy
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 Summary
ConstructorDescriptionCreatePolicy
(CreatePolicyBuilder builder) Construct aCreatePolicy
based on theCreatePolicyBuilder
. -
Method Summary
Modifier and TypeMethodDescriptionRetrieves the configured backing store event interval.Retrieves the configuredBackingStoreMode
.Retrieves the configured coherency interval for GeoServer polling operations.Retrieves the configuredGeoServerCoherencyPolicy
.Retrieves the configuredGeoServerPullPolicy
.Retrieves the configuredGeoServerPushPolicy
.Retrieves the configured object timeout.Retrieves the configuredPreemptionPriority
Retrieves the configured objectTimeoutType
.
-
Constructor Details
-
CreatePolicy
Construct aCreatePolicy
based on theCreatePolicyBuilder
.- Parameters:
builder
- the builder.
-
-
Method Details
-
getGeoServerCoherencyPolicy
Retrieves the configuredGeoServerCoherencyPolicy
.- Returns:
- a
GeoServerCoherencyPolicy
-
getGeoServerCoherencyInterval
Retrieves the configured coherency interval for GeoServer polling operations.- Returns:
- the configured coherency interval
-
getGeoServerPullPolicy
Retrieves the configuredGeoServerPullPolicy
.- Returns:
- a
GeoServerPullPolicy
-
getGeoServerPushPolicy
Retrieves the configuredGeoServerPushPolicy
.- Returns:
- a
GeoServerPushPolicy
-
getPreemptionPriority
Retrieves the configuredPreemptionPriority
- Returns:
- a
PreemptionPriority
-
getObjectTimeout
Retrieves the configured object timeout.- Returns:
- the timeout
-
getTimeoutType
Retrieves the configured objectTimeoutType
.- Returns:
- a
TimeoutType
-
getBackingStoreMode
Retrieves the configuredBackingStoreMode
.- Returns:
- a
BackingStoreMode
-
getBackingStoreEventInterval
Retrieves the configured backing store event interval.- Returns:
- the backing store event interval
-