Creates a CreatePolicy object with a timeout of the specified duration that is either sliding or absolute.
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
Parameters
- timeoutMinutes
- Type: SystemInt32
Number of minutes before the object expires. 0 for an infinite timeout. - isAbsoluteTimeout
- Type: SystemBoolean
Indicates whether the timeout is an absolute expiration value or is a sliding expiration value that gets reset every time the object is accessed.
Exceptions
Exception | Condition |
---|---|
ArgumentOutOfRangeException | Thrown if timeoutMinutes is set to a value less than 0 or greater than 69,905. |
See Also