public static interface Instacount.InstacountFeign extends Instacount
Instacount.Builder, Instacount.InstacountFeign| Modifier and Type | Method and Description |
|---|---|
CreateShardedCounterResponse |
createShardedCounter()
Creates a new counter with a count of zero (0) and a unique "name" provided by Instacount.
|
CreateShardedCounterResponse |
createShardedCounter(CreateShardedCounterInput createCounterInput)
Creates a new counter using data from the specified
createCounterInput. |
DecrementShardedCounterResponse |
decrementShardedCounter(String counterName)
Decrements the counter named
counterName by 1. |
DecrementShardedCounterResponse |
decrementShardedCounter(String counterName,
DecrementShardedCounterInput decrementCounterInput)
Decrements the counter named
counterName by the amount specified in amount, using the specified
async characteristics.. |
DeleteShardedCounterResponse |
deleteShardedCounter(String counterName)
Creates a new counter using data from the specified
createCounterInput. |
GetShardedCounterResponse |
getShardedCounter(String counterName)
Gets the counter with the specified
counterName from the Instacount API. |
GetShardedCounterOperationResponse |
getShardedCounterOperation(String counterName,
Integer shardIndex,
String operationId)
Get the
ShardedCounterOperation for the specified inputs. |
IncrementShardedCounterResponse |
incrementShardedCounter(String counterName)
Increments the counter named
counterName by 1. |
IncrementShardedCounterResponse |
incrementShardedCounter(String counterName,
IncrementShardedCounterInput incrementCounterInput)
Increments the counter named
counterName by the amount specified in amount, using the specified
async characteristics.. |
UpdateShardedCounterResponse |
updateShardedCounter(String counterName,
UpdateShardedCounterInput updateCounterInput)
Creates a new counter using data from the specified
createCounterInput. |
CreateShardedCounterResponse createShardedCounter() throws InstacountClientException
InstacountcreateShardedCounter in interface InstacountInstacountClientExceptionCreateShardedCounterResponse createShardedCounter(CreateShardedCounterInput createCounterInput) throws InstacountClientException
InstacountcreateCounterInput.createShardedCounter in interface InstacountcreateCounterInput - An instance of CreateShardedCounterInput.InstacountClientExceptionGetShardedCounterResponse getShardedCounter(String counterName) throws InstacountClientException
InstacountcounterName from the Instacount API.getShardedCounter in interface InstacountcounterName - A String representing the name of the ShardedCounter resource.InstacountClientExceptionUpdateShardedCounterResponse updateShardedCounter(String counterName, UpdateShardedCounterInput updateCounterInput) throws InstacountClientException
InstacountcreateCounterInput.updateShardedCounter in interface InstacountcounterName - A String representing the name of the ShardedCounter resource.updateCounterInput - An instance of UpdateShardedCounterInput.InstacountClientExceptionDeleteShardedCounterResponse deleteShardedCounter(String counterName) throws InstacountClientException
InstacountcreateCounterInput.deleteShardedCounter in interface InstacountcounterName - A String representing the name of the ShardedCounter resource.InstacountClientExceptionIncrementShardedCounterResponse incrementShardedCounter(String counterName) throws InstacountClientException
InstacountcounterName by 1.incrementShardedCounter in interface InstacountInstacountClientExceptionDecrementShardedCounterResponse decrementShardedCounter(String counterName) throws InstacountClientException
InstacountcounterName by 1.decrementShardedCounter in interface InstacountInstacountClientExceptionIncrementShardedCounterResponse incrementShardedCounter(String counterName, IncrementShardedCounterInput incrementCounterInput) throws InstacountClientException
InstacountcounterName by the amount specified in amount, using the specified
async characteristics..incrementShardedCounter in interface InstacountcounterName - A String representing the name of the counter to incrementShardedCounter.incrementCounterInput - An instance of IncrementShardedCounterInput for shaping the operation.InstacountClientExceptionDecrementShardedCounterResponse decrementShardedCounter(String counterName, DecrementShardedCounterInput decrementCounterInput) throws InstacountClientException
InstacountcounterName by the amount specified in amount, using the specified
async characteristics..decrementShardedCounter in interface InstacountcounterName - A String representing the name of the counter to decrementShardedCounter.decrementCounterInput - An instance of DecrementShardedCounterInput for shaping the operation.InstacountClientExceptionGetShardedCounterOperationResponse getShardedCounterOperation(String counterName, Integer shardIndex, String operationId) throws InstacountClientException
InstacountShardedCounterOperation for the specified inputs.getShardedCounterOperation in interface InstacountcounterName - A String representing the name of the counter resource.shardIndex - The 0-based index of the shard this operation was performed against.operationId - A String representing the unique identifier of the operation being requested.InstacountClientExceptionCopyright © 2015–2016 Instacount. All rights reserved.