Class ValueAndTimestamp<V, TJVMV>
KNet Implementation of ValueAndTimestamp<V>
public class ValueAndTimestamp<V, TJVMV> : IKNetInnerReference<ValueAndTimestamp<TJVMV>>, IGenericSerDesFactoryApplier, IDisposable
Type Parameters
VThe value type
TJVMVThe JVM type of
V
- Inheritance
-
ValueAndTimestamp<V, TJVMV>
- Implements
-
IKNetInnerReference<ValueAndTimestamp<TJVMV>>
Properties
DateTime
public DateTime DateTime { get; }
Property Value
InnerReference
The underlying inner reference used from KNet object instance
public ValueAndTimestamp<TJVMV> InnerReference { get; }
Property Value
- ValueAndTimestamp<TJVMV>
Timestamp
public long Timestamp { get; }
Property Value
Value
public V Value { get; }
Property Value
- V
V
Methods
CheckDisposed()
Test if this instance was disposed
protected void CheckDisposed()
Exceptions
- ObjectDisposedException
When this instance was disposed
Dispose()
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
public void Dispose()
Dispose(bool)
Implements the pattern described in https://learn.microsoft.com/en-en/dotnet/standard/garbage-collection/implementing-dispose
protected virtual void Dispose(bool disposing)