Table of Contents

Class CreatePolicyBuilder

Namespace
Scaleout.Client
Assembly
Scaleout.Client.dll

Builder class to create immutable CreatePolicy objects. Use GetPolicyBuilder() to get a builder with policies preset to a cache's defaults.

public class CreatePolicyBuilder
Inheritance
CreatePolicyBuilder
Inherited Members

Constructors

CreatePolicyBuilder()

Constructor to instantiate a builder with default policies. Use GetPolicyBuilder() to get a builder with policies preset to a cache's defaults.

CreatePolicyBuilder(CreatePolicy)

Constructor to instantiate a builder with values from an existing CreatePolicy instance.

Properties

BackingStoreEventInterval

The interval between backing store events (refresh-ahead, write-behind).

BackingStoreMode

The policy for the object's backing store event behavior. Default is None.

Dependencies

Specifies the objects on which the object being added will depend.

GeoServerCoherencyInterval

The policy for how often remote stores should refresh their proxies to this object if Poll is used.

GeoServerCoherencyPolicy

The policy for how remote stores should refresh their proxies to this object.

GeoServerPullPolicy

Specifies whether the object will be allowed to be accessed from a remote store.

GeoServerPushPolicy

Specifies whether the object will be subject to GeoServer "push" replication.

PreemptionPriority

The preemption policy for the object.

Timeout

The lifetime policy of the object, or Zero for an infinite timeout.

TimeoutType

The conditions under which the Timeout will be reset.

Methods

AddDependency<TKey, TValue>(Cache<TKey, TValue>, TKey)

Adds a dependency specification for a dependant (child) object.

Build()

Builds a CreatePolicy instance based off of the properties in this builder.

ClearDependencies()

Clears parent entries from this builder's Dependencies collection.