Index

B C D G I M N O P S T W 
All Classes and Interfaces|All Packages|Constant Field Values

B

builder() - Static method in interface org.apache.polaris.ids.api.IdGeneratorSpec.BuildableIdGeneratorSpec
 

C

close() - Method in interface org.apache.polaris.ids.api.MonotonicClock
 
constructId(long, long, long) - Method in interface org.apache.polaris.ids.api.SnowflakeIdGenerator
 
currentInstant() - Method in interface org.apache.polaris.ids.api.MonotonicClock
Current instant with nanosecond precision, can be used as a monotonically increasing wall clock.
currentTimeMicros() - Method in interface org.apache.polaris.ids.api.MonotonicClock
Current timestamp as microseconds since epoch, can be used as a monotonically increasing wall clock.
currentTimeMillis() - Method in interface org.apache.polaris.ids.api.MonotonicClock
Current timestamp as milliseconds since epoch, can be used as a monotonically increasing wall clock.

D

DEFAULT_NODE_ID_BITS - Static variable in interface org.apache.polaris.ids.api.SnowflakeIdGenerator
 
DEFAULT_SEQUENCE_BITS - Static variable in interface org.apache.polaris.ids.api.SnowflakeIdGenerator
 
DEFAULT_TIMESTAMP_BITS - Static variable in interface org.apache.polaris.ids.api.SnowflakeIdGenerator
 
describeId(long) - Method in interface org.apache.polaris.ids.api.IdGenerator
 

G

generateId() - Method in interface org.apache.polaris.ids.api.IdGenerator
Generate a new, unique ID.

I

ID_EPOCH - Static variable in interface org.apache.polaris.ids.api.SnowflakeIdGenerator
Offset of the snowflake ID generator since the 1970-01-01T00:00:00Z epoch instant.
ID_EPOCH_MILLIS - Static variable in interface org.apache.polaris.ids.api.SnowflakeIdGenerator
Offset of the snowflake ID generator in milliseconds since the 1970-01-01T00:00:00Z epoch instant.
IdGenerator - Interface in org.apache.polaris.ids.api
The primary interface for generating a contention-free ID.
IdGeneratorSpec - Interface in org.apache.polaris.ids.api
 
IdGeneratorSpec.BuildableIdGeneratorSpec - Interface in org.apache.polaris.ids.api
 
idToString(long) - Method in interface org.apache.polaris.ids.api.SnowflakeIdGenerator
 
idToTimeUuid(long) - Method in interface org.apache.polaris.ids.api.SnowflakeIdGenerator
 

M

MonotonicClock - Interface in org.apache.polaris.ids.api
Provides a clock providing the current time in milliseconds, microseconds and instant since 1970-01-01-00:00:00.000.

N

nanoTime() - Method in interface org.apache.polaris.ids.api.MonotonicClock
Monotonically increasing timestamp with nanosecond precision, not related to wall clock.
nodeFromId(long) - Method in interface org.apache.polaris.ids.api.SnowflakeIdGenerator
 
nodeIdBits() - Method in interface org.apache.polaris.ids.api.SnowflakeIdGenerator
 
NONE - Static variable in interface org.apache.polaris.ids.api.IdGenerator
 

O

org.apache.polaris.ids.api - package org.apache.polaris.ids.api
 

P

params() - Method in interface org.apache.polaris.ids.api.IdGeneratorSpec.BuildableIdGeneratorSpec
 
params() - Method in interface org.apache.polaris.ids.api.IdGeneratorSpec
 

S

sequenceBits() - Method in interface org.apache.polaris.ids.api.SnowflakeIdGenerator
 
sequenceFromId(long) - Method in interface org.apache.polaris.ids.api.SnowflakeIdGenerator
 
sleepMillis(long) - Method in interface org.apache.polaris.ids.api.MonotonicClock
 
SnowflakeIdGenerator - Interface in org.apache.polaris.ids.api
 
systemIdForNode(int) - Method in interface org.apache.polaris.ids.api.IdGenerator
Generate the system ID for a node, solely used for node management.

T

timestampBits() - Method in interface org.apache.polaris.ids.api.SnowflakeIdGenerator
 
timestampFromId(long) - Method in interface org.apache.polaris.ids.api.SnowflakeIdGenerator
 
timestampUtcFromId(long) - Method in interface org.apache.polaris.ids.api.SnowflakeIdGenerator
 
timeUuidToId(UUID) - Method in interface org.apache.polaris.ids.api.SnowflakeIdGenerator
 
type() - Method in interface org.apache.polaris.ids.api.IdGeneratorSpec.BuildableIdGeneratorSpec
 
type() - Method in interface org.apache.polaris.ids.api.IdGeneratorSpec
 

W

waitUntilTimeMillisAdvanced() - Method in interface org.apache.polaris.ids.api.MonotonicClock
 
B C D G I M N O P S T W 
All Classes and Interfaces|All Packages|Constant Field Values