Package me.ahoo.cosid.stat
Interface Stat
- All Known Subinterfaces:
IdGeneratorStat
- All Known Implementing Classes:
CosIdGeneratorStat,DatePrefixConverterStat,GroupedPrefixConverterStat,PrefixConverterStat,RadixConverterStat,SegmentIdStat,SimpleIdGeneratorStat,SimpleStat,SnowflakeFriendlyIdConverterStat,SnowflakeIdStat,SuffixConverterStat,ToStringConverterStat
public interface Stat
Statistical information interface.
-
Method Details
-
getKind
String getKind()Gets the kind/type of this stat.- Returns:
- the kind
-
getActual
Gets the wrapped actual stat.- Returns:
- the actual stat or null
-
simple
Creates a simple stat with the specified kind and actual.- Parameters:
kind- the kindactual- the actual stat- Returns:
- the stat
-
simple
Creates a simple stat with the specified kind.- Parameters:
kind- the kind- Returns:
- the stat
-