Retrieves an object from the named cache.
Namespace: Soss.Client
Assembly: soss_namedcache (in soss_namedcache.dll) Version: 6.2.0.0
Syntax
Parameters
- id
- Type: SystemByte
Object identifier. - options
- Type: Soss.ClientRetrieveOptions
A set of RetrieveOptions options that control locking, GeoServer behavior, and read-through logic for the Retrieve call. These options override any default behaviors that are specified at the named cache level.
Return Value
Type: ObjectObject stored in the cache, or null if the object is not in the cache.
Exceptions
Exception | Condition |
---|---|
ObjectLockedException | Thrown if options parameter requests a lock but the object is locked by another client. |
StateServerException | Thrown if ScaleOut StateServer is unavailable or has experienced an internal error. |
ReadThroughTimeoutException | Thrown if backing store integration or GeoServer pull replication is used with this NamedCache and the retrieval of the object is delayed beyond the number of retries specified by MaxReadThroughPendingAttempts. |
Remarks
See Also