Skip to main content
Version: Next

ServerInfo

Defined in: messages/ServerInfo.ts:39

Represents information about storage

Constructors

Constructor

> new ServerInfo(): ServerInfo

Returns

ServerInfo

Properties

bucketCount

> readonly bucketCount: bigint = 0n

Defined in: messages/ServerInfo.ts:48

Number of buckets


defaults

> readonly defaults: ServerDefaults

Defined in: messages/ServerInfo.ts:78

Default settings


latestRecord

> readonly latestRecord: bigint = 0n

Defined in: messages/ServerInfo.ts:68

Unix timestamp of the latest record in microseconds


license?

> readonly optional license: LicenseInfo

Defined in: messages/ServerInfo.ts:73

License information


oldestRecord

> readonly oldestRecord: bigint = 0n

Defined in: messages/ServerInfo.ts:63

Unix timestamp of the oldest record in microseconds


uptime

> readonly uptime: bigint = 0n

Defined in: messages/ServerInfo.ts:58

Server uptime in seconds


usage

> readonly usage: bigint = 0n

Defined in: messages/ServerInfo.ts:53

Stored data in bytes


version

> readonly version: string = ""

Defined in: messages/ServerInfo.ts:43

Version storage server

Methods

parse()

> static parse(data): ServerInfo

Defined in: messages/ServerInfo.ts:80

Parameters

data

OriginalServerInfo

Returns

ServerInfo