AccessToken Class

[Missing <summary> documentation for "T:Aerospike.Client.AccessToken"]

Definition

Namespace: Aerospike.Client
Assembly: AerospikeClient (in AerospikeClient.dll) Version: 7.0.0
C#
public sealed class AccessToken : IDisposable
Inheritance
Object    AccessToken
Implements
IDisposable

Constructors

AccessTokenInitializes a new instance of the AccessToken class

Properties

Disposed 
HasExpired Token Has Expired
ShouldRefreshToken Token should be refreshed before hitting expiration
WillExpire True to indicate that the token is close to expiring based on latency

Methods

DisposeReleases all resources used by the AccessToken
ToString
(Overrides ObjectToString)

Fields

RefreshTime The time before ttl to obtain the new token by getting a new one from the proxy server. This field is calculated from ttl taking into consideration network latency and other factors like timer delay, etc.
Token An access token for Aerospike proxy.
TokenFetchLatency The latency involved when fetching the token.
WillExpireSoon Time close to ttl that the token will expire based on TokenFetchLatency

See Also