Index
All Classes and Interfaces|All Packages
B
- build() - Method in class com.github.philippheuer.snowflake4j.Snowflake.SnowflakeBuilder
- build() - Method in class com.github.philippheuer.snowflake4j.SnowflakeGenerator.SnowflakeGeneratorBuilder
- builder() - Static method in class com.github.philippheuer.snowflake4j.Snowflake
- builder() - Static method in class com.github.philippheuer.snowflake4j.SnowflakeGenerator
C
- com.github.philippheuer.snowflake4j - package com.github.philippheuer.snowflake4j
- com.github.philippheuer.snowflake4j.util - package com.github.philippheuer.snowflake4j.util
E
- EPOCH_BITFIELD - Static variable in class com.github.philippheuer.snowflake4j.Snowflake
- epochOffset(long) - Method in class com.github.philippheuer.snowflake4j.Snowflake.SnowflakeBuilder
- epochOffset(Long) - Method in class com.github.philippheuer.snowflake4j.SnowflakeGenerator.SnowflakeGeneratorBuilder
F
- fromSnowflake(long, long) - Static method in class com.github.philippheuer.snowflake4j.Snowflake
-
Parses a snowflake id into a snowflake
G
- getEpochOffset() - Method in class com.github.philippheuer.snowflake4j.Snowflake
- getId() - Method in class com.github.philippheuer.snowflake4j.Snowflake
-
Gets the snowflake id (Thread-Save)
- getInstance() - Static method in class com.github.philippheuer.snowflake4j.SnowflakeGenerator
- getIntValue(long) - Method in class com.github.philippheuer.snowflake4j.util.SnowflakeBitField
-
Obtains the long value for the specified BitField, appropriately shifted right.
- getLongValue(long) - Method in class com.github.philippheuer.snowflake4j.util.SnowflakeBitField
-
Obtains the long value for the specified BitField, appropriately shifted right.
- getMaxValue() - Method in class com.github.philippheuer.snowflake4j.util.SnowflakeBitField
-
Retrieves the highest possible value for this field.
- getNodeId() - Method in class com.github.philippheuer.snowflake4j.Snowflake
- getNodeId() - Static method in class com.github.philippheuer.snowflake4j.util.NodeIdGenerator
- getSequenceId() - Method in class com.github.philippheuer.snowflake4j.Snowflake
- getTimestamp() - Method in class com.github.philippheuer.snowflake4j.Snowflake
I
- isRunningInsideContainer() - Static method in class com.github.philippheuer.snowflake4j.util.NodeIdGenerator
-
Checks if this process is running in a container
N
- nextSnowflake() - Method in class com.github.philippheuer.snowflake4j.SnowflakeGenerator
- nodeId(int) - Method in class com.github.philippheuer.snowflake4j.Snowflake.SnowflakeBuilder
- nodeId(Integer) - Method in class com.github.philippheuer.snowflake4j.SnowflakeGenerator.SnowflakeGeneratorBuilder
- NODEID_BITFIELD - Static variable in class com.github.philippheuer.snowflake4j.Snowflake
- NodeIdGenerator - Class in com.github.philippheuer.snowflake4j.util
- NodeIdGenerator() - Constructor for class com.github.philippheuer.snowflake4j.util.NodeIdGenerator
S
- SEQUENCE_BITFIELD - Static variable in class com.github.philippheuer.snowflake4j.Snowflake
- sequenceId(int) - Method in class com.github.philippheuer.snowflake4j.Snowflake.SnowflakeBuilder
- setInstance(SnowflakeGenerator) - Static method in class com.github.philippheuer.snowflake4j.SnowflakeGenerator
- setIntValue(long, int) - Method in class com.github.philippheuer.snowflake4j.util.SnowflakeBitField
-
Replaces the bits with new values.
- setLongValue(long, long) - Method in class com.github.philippheuer.snowflake4j.util.SnowflakeBitField
-
Replaces the bits with new values.
- Snowflake - Class in com.github.philippheuer.snowflake4j
-
Snowflake Object
- Snowflake(long, Instant, int, int) - Constructor for class com.github.philippheuer.snowflake4j.Snowflake
- Snowflake.SnowflakeBuilder - Class in com.github.philippheuer.snowflake4j
- SnowflakeBitField - Class in com.github.philippheuer.snowflake4j.util
- SnowflakeBitField(Long) - Constructor for class com.github.philippheuer.snowflake4j.util.SnowflakeBitField
-
Creates a BitField instance.
- SnowflakeGenerator - Class in com.github.philippheuer.snowflake4j
-
Snowflake ID Generator
- SnowflakeGenerator(Integer, Long) - Constructor for class com.github.philippheuer.snowflake4j.SnowflakeGenerator
- SnowflakeGenerator.SnowflakeGeneratorBuilder - Class in com.github.philippheuer.snowflake4j
T
- timestamp(Instant) - Method in class com.github.philippheuer.snowflake4j.Snowflake.SnowflakeBuilder
- toString() - Method in class com.github.philippheuer.snowflake4j.Snowflake.SnowflakeBuilder
- toString() - Method in class com.github.philippheuer.snowflake4j.Snowflake
- toString() - Method in class com.github.philippheuer.snowflake4j.SnowflakeGenerator.SnowflakeGeneratorBuilder
- toString() - Method in class com.github.philippheuer.snowflake4j.SnowflakeGenerator
All Classes and Interfaces|All Packages