schema

## Class WriteOperations.WriteOp<R,E extends Exception>

- java.lang.Object
- - schema.WriteOperations.WriteOp<R,E>

- 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`

    - #### run

          R run()
          throws FaultException,
                 E extends Exception

      Calls the doWrite method and perform retries when a FaultException is thrown.
      Throws:
        `FaultException`
        `E extends Exception`

Copyright (c) 2011, 2014 Oracle and/or its affiliates. All rights reserved.