public interface PartitionService
| Modifier and Type | Method and Description |
|---|---|
void |
createPartitionGroup(String groupName,
int groupSize,
long timeThreshold,
long sizeThreshold)
creates a partition group and store it to the DB
|
PartitionGroup |
readPartitionGroup(String groupName)
Returns a group of the given name.
|
boolean |
rollPartitions(String groupName)
Rolls a partition
|
void |
updatePartitionGroup(String groupName,
int groupSize,
long timeThreshold,
long sizeThreshold)
updates a partition group and store it to the DB
|
void createPartitionGroup(String groupName, int groupSize, long timeThreshold, long sizeThreshold)
groupName - the desired name of the groupgroupSize - the size of partitionstimeThreshold - a time threshold to roll to the next partitionsizeThreshold - a size threshold to roll to the next partitionvoid updatePartitionGroup(String groupName, int groupSize, long timeThreshold, long sizeThreshold)
groupName - the desired name of the groupgroupSize - the size of partitionstimeThreshold - a time threshold to roll to the next partitionsizeThreshold - a size threshold to roll to the next partitionPartitionGroup readPartitionGroup(String groupName)
groupName - the group name to readPartitionGroup of the given nameboolean rollPartitions(String groupName)
groupName - the group name to rollCopyright © 2021. All rights reserved.