Oracle NoSQL Database Examples
version 12cR1.3.3.4
-
- Enclosing class:
- WriteOperations
abstract class WriteOperations.WriteOp<R,E extends Exception>
extends Object
Internal class used to perform retries for a write operation.
-
-
Constructor Summary
Constructors
Constructor and Description |
WriteOperations.WriteOp(long timeout,
TimeUnit timeoutUnit)
Creates the write operation with the requested timeout parameters.
|
-
Method Summary
Methods
Modifier and Type |
Method and Description |
(package private) abstract R |
doWrite(long tmOutMS)
Implemented for each write operation.
|
(package private) R |
run()
Calls the doWrite method and perform retries when a FaultException
is thrown.
|
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
WriteOperations.WriteOp
WriteOperations.WriteOp(long timeout,
TimeUnit timeoutUnit)
Creates the write operation with the requested timeout parameters.
-
Method Detail
-
doWrite
abstract R doWrite(long tmOutMS)
throws FaultException,
E extends Exception
Implemented for each write operation.
- Parameters:
tmOutMS
- the timeout in milliseconds to use for this attempt
of the write operation.
- Throws:
FaultException
E extends Exception
Oracle NoSQL Database Examples
version 12cR1.3.3.4
Copyright (c) 2011, 2015 Oracle and/or its affiliates. All rights reserved.