CreatePolicy Constructor (TimeSpan)

ScaleOut Software NamedCache API
Creates a CreatePolicy object with a sliding timeout of the specified duration. Objects will be subject to reclamation under low-memory circumstances, will eligible for GeoServer push replication, and will not be remotely accessible to a remote store via GeoServer pull replication.

Namespace:  Soss.Client
Assembly:  soss_namedcache (in soss_namedcache.dll) Version: 6.2.0.0
Syntax

public CreatePolicy(
	TimeSpan timeout
)

Parameters

timeout
Type: SystemTimeSpan
Time until the object expires, with a minimum granularity of one second. Use Zero for an infinite timeout.
Exceptions

ExceptionCondition
ArgumentOutOfRangeException Thrown if timeout is set to a value less than 0 seconds or greater than 4,194,303 seconds (69,905 minutes).
See Also

Reference