public final class PartitionServiceImpl extends Object implements PartitionService
| Modifier and Type | Field and Description |
|---|---|
static int |
MIN_GROUP_SIZE |
| Constructor and Description |
|---|
PartitionServiceImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
createPartitionGroup(String groupName,
int groupSize,
long timeThreshold,
long sizeThreshold) |
PartitionGroup |
readPartitionGroup(String groupName) |
boolean |
rollPartitions(String groupName) |
void |
updatePartitionGroup(String groupName,
int groupSize,
long timeThreshold,
long sizeThreshold) |
public static final int MIN_GROUP_SIZE
@Transactional public void createPartitionGroup(String groupName, int groupSize, long timeThreshold, long sizeThreshold)
createPartitionGroup in interface PartitionService@Transactional public void updatePartitionGroup(String groupName, int groupSize, long timeThreshold, long sizeThreshold)
updatePartitionGroup in interface PartitionService@Transactional(readOnly=true) public PartitionGroup readPartitionGroup(String groupName)
readPartitionGroup in interface PartitionService@Transactional(propagation=REQUIRES_NEW) public boolean rollPartitions(String groupName)
rollPartitions in interface PartitionServiceCopyright © 2016. All Rights Reserved.