| Package | Description |
|---|---|
| com.hivemq.spi.services |
| Modifier and Type | Method and Description |
|---|---|
OptionalAttribute |
BlockingSessionAttributeStore.putIfNewer(String clientId,
String key,
byte[] value,
long timestamp)
Sets the given session attribute for a persistent client if the timestamp of the attribute is newer than the timestamp of the already stored attribute.
|
OptionalAttribute |
BlockingSessionAttributeStore.putIfNewerOrEquals(String clientId,
String key,
byte[] value,
long timestamp)
Sets the given session attribute for a persistent client if the timestamp of the attribute is newer than or equal to the timestamp of the already stored attribute.
|
| Modifier and Type | Method and Description |
|---|---|
com.google.common.util.concurrent.ListenableFuture<OptionalAttribute> |
AsyncSessionAttributeStore.putIfNewer(String clientId,
String key,
byte[] value,
long timestamp)
Sets the given session attribute for a persistent client if the timestamp of the attribute is newer than the timestamp of the already stored attribute.
|
com.google.common.util.concurrent.ListenableFuture<OptionalAttribute> |
AsyncSessionAttributeStore.putIfNewerOrEquals(String clientId,
String key,
byte[] value,
long timestamp)
Sets the given session attribute for a persistent client if the timestamp of the attribute is newer than or equal to the timestamp of the already stored attribute.
|
Copyright © 2013-2018 dc-square GmbH. All Rights Reserved.