Index
All Classes and Interfaces|All Packages
F
- formatId(long) - Method in class org.seppiko.snowflake.IdWorker
-
Formatter snowflake id.
G
- getConfig() - Method in class org.seppiko.snowflake.IdWorker
-
Get snowflake id config.
- getDatacenterId() - Method in class org.seppiko.snowflake.IdEntity
- getDatacenterIdBits() - Method in class org.seppiko.snowflake.IdConfig
- getEntity() - Method in class org.seppiko.snowflake.IdConfig
- getInstance(long) - Static method in class org.seppiko.snowflake.IdWorker
-
Singleton with synchronized.
- getSequence() - Method in class org.seppiko.snowflake.IdEntity
- getSequenceBits() - Method in class org.seppiko.snowflake.IdConfig
- getTimestamp() - Method in class org.seppiko.snowflake.IdEntity
-
Get Snowflake id timestamp or offset timestamp.
- getTimestampBits() - Method in class org.seppiko.snowflake.IdConfig
- getWaitCount() - Method in class org.seppiko.snowflake.IdWorker
- getWorkerId() - Method in class org.seppiko.snowflake.IdEntity
- getWorkerIdBits() - Method in class org.seppiko.snowflake.IdConfig
I
- IdConfig - Class in org.seppiko.snowflake
-
Snowflake ID config
- IdConfig(long, long, long, long, IdEntity) - Constructor for class org.seppiko.snowflake.IdConfig
-
Snowflake ID config constructor.
- IdEntity - Class in org.seppiko.snowflake
-
Snowflake ID entity
- IdEntity(long, long, long, long) - Constructor for class org.seppiko.snowflake.IdEntity
-
Snowflake ID entity constructor.
- IdWorker - Class in org.seppiko.snowflake
-
Seppiko Snowflake algorithm implement.
- initWorker(long, long) - Method in class org.seppiko.snowflake.IdWorker
-
Initialization worker.
N
O
- org.seppiko.snowflake - package org.seppiko.snowflake
-
Seppiko snowflake package
S
- seppiko.snowflake - module seppiko.snowflake
-
Seppiko snowflake module
- setDatacenterId(long) - Method in class org.seppiko.snowflake.IdWorker
-
Set data center id.
- setWorkerId(long) - Method in class org.seppiko.snowflake.IdWorker
-
Set worker id.
T
- toString() - Method in class org.seppiko.snowflake.IdConfig
- toString() - Method in class org.seppiko.snowflake.IdEntity
- toString() - Method in class org.seppiko.snowflake.IdWorker
-
Snowflake ID config string.
All Classes and Interfaces|All Packages