|
Oracle® Coherence Java API Reference Release 3.7.1.0 E22843-01 |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
com.tangosol.coherence.rest.util.processor.NumberIncrementorFactory
public class NumberIncrementorFactory
ProcessorFactory
that can be used to create a NumberIncrementor
.
Constructor Summary | |
---|---|
NumberIncrementorFactory(boolean fPostIncrement) Construct an instance of NumberIncrementorFactory. |
Method Summary | |
---|---|
InvocableMap.EntryProcessor |
getProcessor(java.lang.String[] asArgs) Returns a processor instance. |
protected static java.lang.Number |
toNumber(java.lang.String sNumber) Convert the given string into a number. |
Constructor Detail |
---|
public NumberIncrementorFactory(boolean fPostIncrement)
fPostIncrement
- pass true to create NumberIncrementors that will return value as it was before it was incremented, or pass false to create NumberIncrementors that will return the value as it is after it is incrementedMethod Detail |
---|
public InvocableMap.EntryProcessor getProcessor(java.lang.String[] asArgs)
getProcessor
in interface ProcessorFactory
asArgs
- processor configuration argumentsprotected static java.lang.Number toNumber(java.lang.String sNumber)
sNumber
- number as a string
|
Oracle® Coherence Java API Reference Release 3.7.1.0 E22843-01 |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |