public interface RIdGeneratorAsync extends RExpirableAsync
Long
type numbers.
Returns unique numbers but not monotonically increased.Modifier and Type | Method and Description |
---|---|
RFuture<Long> |
nextIdAsync()
Returns next unique number but not monotonically increased
|
RFuture<Boolean> |
tryInitAsync(long value,
long allocationSize)
Initializes Id generator params.
|
clearExpireAsync, expireAsync, expireAsync, expireAtAsync, expireAtAsync, remainTimeToLiveAsync
addListenerAsync, copyAsync, deleteAsync, dumpAsync, getIdleTimeAsync, isExistsAsync, migrateAsync, moveAsync, removeListenerAsync, renameAsync, renamenxAsync, restoreAndReplaceAsync, restoreAndReplaceAsync, restoreAsync, restoreAsync, sizeInMemoryAsync, touchAsync, unlinkAsync
Copyright © 2014–2021 Redisson. All rights reserved.