@Service @Transactional(value="herdTransactionManager") public class ExpectedPartitionValueServiceImpl extends Object implements ExpectedPartitionValueService
| Constructor and Description |
|---|
ExpectedPartitionValueServiceImpl() |
| Modifier and Type | Method and Description |
|---|---|
ExpectedPartitionValuesInformation |
createExpectedPartitionValues(ExpectedPartitionValuesCreateRequest expectedPartitionValuesCreateRequest)
Creates a list of expected partition values for an existing partition key group.
|
ExpectedPartitionValuesInformation |
deleteExpectedPartitionValues(ExpectedPartitionValuesDeleteRequest expectedPartitionValuesDeleteRequest)
Deletes specified expected partition values from an existing partition key group which is identified by name.
|
ExpectedPartitionValueInformation |
getExpectedPartitionValue(ExpectedPartitionValueKey expectedPartitionValueKey,
Integer offset)
Retrieves an existing expected partition value plus/minus an optional offset.
|
protected ExpectedPartitionValueInformation |
getExpectedPartitionValueImpl(ExpectedPartitionValueKey expectedPartitionValueKey,
Integer offset)
Retrieves an existing expected partition value plus/minus an optional offset.
|
ExpectedPartitionValuesInformation |
getExpectedPartitionValues(PartitionKeyGroupKey partitionKeyGroupKey,
PartitionValueRange partitionValueRange)
Retrieves a range of existing expected partition values.
|
public ExpectedPartitionValuesInformation createExpectedPartitionValues(ExpectedPartitionValuesCreateRequest expectedPartitionValuesCreateRequest)
createExpectedPartitionValues in interface ExpectedPartitionValueServiceexpectedPartitionValuesCreateRequest - the information needed to create the expected partition values@Transactional(propagation=REQUIRES_NEW) public ExpectedPartitionValueInformation getExpectedPartitionValue(ExpectedPartitionValueKey expectedPartitionValueKey, Integer offset)
getExpectedPartitionValue in interface ExpectedPartitionValueServiceexpectedPartitionValueKey - the expected partition value keyoffset - the optional positive or negative offsetprotected ExpectedPartitionValueInformation getExpectedPartitionValueImpl(ExpectedPartitionValueKey expectedPartitionValueKey, Integer offset)
expectedPartitionValueKey - the expected partition value keyoffset - the optional positive or negative offsetpublic ExpectedPartitionValuesInformation getExpectedPartitionValues(PartitionKeyGroupKey partitionKeyGroupKey, PartitionValueRange partitionValueRange)
getExpectedPartitionValues in interface ExpectedPartitionValueServicepartitionKeyGroupKey - the partition key group keypartitionValueRange - the partition value rangepublic ExpectedPartitionValuesInformation deleteExpectedPartitionValues(ExpectedPartitionValuesDeleteRequest expectedPartitionValuesDeleteRequest)
deleteExpectedPartitionValues in interface ExpectedPartitionValueServiceexpectedPartitionValuesDeleteRequest - the information needed to delete the expected partition valuesCopyright © 2021. All rights reserved.