public interface VersionService
| Modifier and Type | Field and Description |
|---|---|
static String |
MSG_RECOVERY_VERSION_COUNTER_NAME
The recovery key
|
| Modifier and Type | Method and Description |
|---|---|
long |
getCurrentVersion(String counterName)
Given the counter name (key) returns the current version of it.
|
void |
incrementVersion(String counterName)
Increments the conuter relevent to the given counter name by 1.
|
static final String MSG_RECOVERY_VERSION_COUNTER_NAME
long getCurrentVersion(String counterName)
counterName - : the counter name (key)void incrementVersion(String counterName)
counterName - : the counter name (key) to increment.Copyright © 2023. All rights reserved.