Modifier and Type | Method and Description |
---|---|
void |
PersistentStore.add(String type,
Collection<Map<String,Object>> items)
Adds a collection of items of specified type.
|
void |
PersistentStore.add(String type,
Map<String,Object> properties)
Adds item of specified type with the specified properties.
|
int |
PersistentStore.delete(String type,
String ecql)
Delete items matching the ECQL query criteria.
|
List<Map<String,Object>> |
PersistentStore.get(String type)
Get all of the items of the specified type.
|
List<Map<String,Object>> |
PersistentStore.get(String type,
String ecql)
Get items matching the ECQL query criteria.
|
Modifier and Type | Method and Description |
---|---|
List<Map<String,Object>> |
AttributesStore.getAllUsers()
Gets a list of all users and their attributes
|
long |
AttributesStore.getCurrentDataUsageByUser(String username)
Returns the user's current data usage from the persistent store
|
long |
AttributesStore.getDataLimitByUser(String username)
Returns the user's current data limit from the persistent store
|
void |
AttributesStore.resetUserDataUsages()
Resets all known user's data usages to 0.
|
void |
AttributesStore.setDataLimit(String username,
long dataLimit)
Resets the user's data limit in the persistent store to the size specified in bytes
|
void |
AttributesStore.setDataUsage(String username,
long dataUsage)
Resets the user's data usage in the persistent store to the usage specified in bytes
|
void |
AttributesStore.updateUserDataUsage(String username,
long dataUsage)
Adds the specified data usage in bytes to the user's data usage in the persistent store
|
Modifier and Type | Method and Description |
---|---|
List<Map<String,Object>> |
AttributesStoreImpl.getAllUsers() |
long |
AttributesStoreImpl.getCurrentDataUsageByUser(String username) |
long |
AttributesStoreImpl.getDataLimitByUser(String username) |
void |
AttributesStoreImpl.resetUserDataUsages() |
void |
AttributesStoreImpl.setDataLimit(String username,
long dataLimit) |
void |
AttributesStoreImpl.setDataUsage(String username,
long dataUsage) |
void |
AttributesStoreImpl.updateUserDataUsage(String username,
long newDataUsage) |
Modifier and Type | Method and Description |
---|---|
void |
StoreListCommand.storeCommand() |
void |
StoreDeleteCommand.storeCommand() |
Modifier and Type | Method and Description |
---|---|
void |
PersistentStoreImpl.add(String type,
Collection<Map<String,Object>> items) |
void |
PersistentStoreImpl.add(String type,
Map<String,Object> properties) |
int |
PersistentStoreImpl.delete(String type,
String cql) |
List<Map<String,Object>> |
PersistentStoreImpl.get(String type) |
List<Map<String,Object>> |
PersistentStoreImpl.get(String type,
String cql) |
This work is licensed under a Creative Commons Attribution 4.0 International License.