neton.lease.Lessor

Undocumented in source.

Members

Aliases

Checkpointer
alias Checkpointer = void delegate(LeaseCheckpointRequest lc)
Undocumented in source.
LeaseID
alias LeaseID = long
Undocumented in source.
RangeDeleter
alias RangeDeleter = TxnDelete delegate()
Undocumented in source.
float64
alias float64 = long
Undocumented in source.
int64
alias int64 = long
Undocumented in source.
leasesByExpiry
alias leasesByExpiry = Lease[]
Undocumented in source.

Classes

Lease
class Lease
Undocumented in source.
Lessor
class Lessor
Undocumented in source.

Functions

Len
int Len(leasesByExpiry le)
Undocumented in source. Be warned that the author may not have intended to support it.
Less
bool Less(leasesByExpiry le, int i, int j)
Undocumented in source. Be warned that the author may not have intended to support it.
NewLessor
Lessor NewLessor(LessorConfig cfg)
Undocumented in source. Be warned that the author may not have intended to support it.
Swap
void Swap(leasesByExpiry le, int i, int j)
Undocumented in source. Be warned that the author may not have intended to support it.
int64ToBytes
byte[] int64ToBytes(int64 n)
Undocumented in source. Be warned that the author may not have intended to support it.
newLessor
Lessor newLessor(LessorConfig cfg)
Undocumented in source. Be warned that the author may not have intended to support it.

Interfaces

TxnDelete
interface TxnDelete
Undocumented in source.

Structs

LeaseItem
struct LeaseItem
Undocumented in source.
LessorConfig
struct LessorConfig
Undocumented in source.

Variables

ErrLeaseExists
enum string ErrLeaseExists;
Undocumented in source.
ErrLeaseNotFound
enum string ErrLeaseNotFound;
Undocumented in source.
ErrLeaseTTLTooLarge
enum string ErrLeaseTTLTooLarge;
Undocumented in source.
ErrNotPrimary
enum string ErrNotPrimary;
Undocumented in source.
FOREVER
enum long FOREVER;
Undocumented in source.
MaxLeaseTTL
long MaxLeaseTTL;
Undocumented in source.
NoLease
LeaseID NoLease;
Undocumented in source.
leaseBucketName
enum string leaseBucketName;
Undocumented in source.
leaseCheckpointRate
enum int leaseCheckpointRate;
Undocumented in source.
leaseRevokeRate
enum int leaseRevokeRate;
Undocumented in source.
maxLeaseCheckpointBatchSize
enum int maxLeaseCheckpointBatchSize;
Undocumented in source.

Meta