diff options
Diffstat (limited to 'src/main/java/com/amazon/carbonado/sequence')
-rw-r--r-- | src/main/java/com/amazon/carbonado/sequence/SequenceValueGenerator.java | 1 | ||||
-rw-r--r-- | src/main/java/com/amazon/carbonado/sequence/SequenceValueProducerPool.java | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/src/main/java/com/amazon/carbonado/sequence/SequenceValueGenerator.java b/src/main/java/com/amazon/carbonado/sequence/SequenceValueGenerator.java index 6d8e655..b033919 100644 --- a/src/main/java/com/amazon/carbonado/sequence/SequenceValueGenerator.java +++ b/src/main/java/com/amazon/carbonado/sequence/SequenceValueGenerator.java @@ -214,6 +214,7 @@ public class SequenceValueGenerator extends AbstractSequenceValueProducer { * @throws PersistException for fetch/persist failure or if sequence is
* exhausted for int values.
*/
+ @Override
public int nextIntValue() throws PersistException {
try {
synchronized (mStoredSequence) {
diff --git a/src/main/java/com/amazon/carbonado/sequence/SequenceValueProducerPool.java b/src/main/java/com/amazon/carbonado/sequence/SequenceValueProducerPool.java index ccebda3..b2949dc 100644 --- a/src/main/java/com/amazon/carbonado/sequence/SequenceValueProducerPool.java +++ b/src/main/java/com/amazon/carbonado/sequence/SequenceValueProducerPool.java @@ -47,6 +47,7 @@ public abstract class SequenceValueProducerPool *
* @param name name of sequence
*/
+ @Override
public SequenceValueProducer get(String name) throws RepositoryException {
return (SequenceValueProducer) super.get(name);
}
@@ -69,6 +70,7 @@ public abstract class SequenceValueProducerPool }
}
+ @Override
protected final SequenceValueProducer create(String name) throws RepositoryException {
return createSequenceValueProducer(name);
}
|