Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • DataRecord

Index

Constructors

constructor

  • new DataRecord(key: Data, value: Data | any, creationTime?: number, ttl?: number): DataRecord

Properties

key

key: Data

value

value: Data | any

Static NOT_RESERVED

NOT_RESERVED: Long = Long.NEG_ONE

Static READ_PERMITTED

READ_PERMITTED: Long = Long.fromNumber(-3)

Static RESERVED

RESERVED: Long = Long.fromNumber(-2)

Methods

casStatus

  • casStatus(expected: Long, update: Long): boolean

getInvalidationSequence

  • getInvalidationSequence(): Long

getStatus

  • getStatus(): Long

hasSameUuid

  • hasSameUuid(uuid: UUID): boolean

hitRecord

  • hitRecord(): void

isExpired

  • isExpired(maxIdleSeconds: number): boolean

setAccessTime

  • setAccessTime(): void

setCreationTime

  • setCreationTime(creationTime?: number): void

setInvalidationSequence

  • setInvalidationSequence(sequence: Long): void

setUuid

  • setUuid(uuid: UUID): void

Static lfuComp

Static lruComp

Static randomComp

Generated using TypeDoc