Oracle NoSQL Database
version 11gR2.2.0.26

oracle.kv
Class RequestTimeoutException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by oracle.kv.FaultException
                  extended by oracle.kv.RequestTimeoutException
All Implemented Interfaces:
Serializable

public class RequestTimeoutException
extends FaultException

Thrown when a request cannot be processed because the configured timeout interval is exceeded.

The default timeout interval (specified by KVStoreConfig.getRequestTimeout(java.util.concurrent.TimeUnit)) is five seconds, and this exception should rarely be thrown.

Depending on the nature of the application, when this exception is thrown the client may wish to

See Also:
Serialized Form

Method Summary
 int getTimeoutMs()
          Returns the timeout that was in effect for the operation.
 
Methods inherited from class oracle.kv.FaultException
getFaultClassName, getRemoteStackTrace, toString, wasLoggedRemotely
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

getTimeoutMs

public int getTimeoutMs()
Returns the timeout that was in effect for the operation.


Oracle NoSQL Database
version 11gR2.2.0.26

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