Oracle NoSQL Database
version 11gR2.2.0.26

Uses of Class
oracle.kv.Durability

Packages that use Durability
oracle.kv This package contains the public API for using Oracle NoSQL Database. 
oracle.kv.lob The KVLargeObject interface defines the operations used to read and write Large Objects (LOBs) such as audio and video files. 
 

Uses of Durability in oracle.kv
 

Fields in oracle.kv declared as Durability
static Durability Durability.COMMIT_NO_SYNC
          A convenience constant that defines a durability policy with COMMIT_NO_SYNC for Master commit synchronization.
static Durability Durability.COMMIT_SYNC
          A convenience constant that defines a durability policy with COMMIT_SYNC for Master commit synchronization.
static Durability Durability.COMMIT_WRITE_NO_SYNC
          A convenience constant that defines a durability policy with COMMIT_WRITE_NO_SYNC for Master commit synchronization.
 

Methods in oracle.kv that return Durability
static Durability Durability.fromByteArray(byte[] keyBytes)
          Deserializes the given bytes that were returned earlier by toByteArray() and returns the resulting Durability.
 Durability KVStoreConfig.getDurability()
          Returns the default write Durability.
 

Methods in oracle.kv with parameters of type Durability
 boolean KVStore.delete(Key key, ReturnValueVersion prevValue, Durability durability, long timeout, TimeUnit timeoutUnit)
          Delete the key/value pair associated with the key.
 boolean KVStore.deleteIfVersion(Key key, Version matchVersion, ReturnValueVersion prevValue, Durability durability, long timeout, TimeUnit timeoutUnit)
          Delete a key/value pair, but only if the version of the existing value matches the matchVersion argument.
 List<OperationResult> KVStore.execute(List<Operation> operations, Durability durability, long timeout, TimeUnit timeoutUnit)
          This method provides an efficient and transactional mechanism for executing a sequence of operations associated with keys that share the same Major Path.
 int KVStore.multiDelete(Key parentKey, KeyRange subRange, Depth depth, Durability durability, long timeout, TimeUnit timeoutUnit)
          Deletes the descendant Key/Value pairs associated with the parentKey.
 Version KVStore.put(Key key, Value value, ReturnValueVersion prevValue, Durability durability, long timeout, TimeUnit timeoutUnit)
          Put a key/value pair, inserting or overwriting as appropriate.
 Version KVStore.putIfAbsent(Key key, Value value, ReturnValueVersion prevValue, Durability durability, long timeout, TimeUnit timeoutUnit)
          Put a key/value pair, but only if no value for the given key is present.
 Version KVStore.putIfPresent(Key key, Value value, ReturnValueVersion prevValue, Durability durability, long timeout, TimeUnit timeoutUnit)
          Put a key/value pair, but only if a value for the given key is present.
 Version KVStore.putIfVersion(Key key, Value value, Version matchVersion, ReturnValueVersion prevValue, Durability durability, long timeout, TimeUnit timeoutUnit)
          Put a key/value pair, but only if the version of the existing value matches the matchVersion argument.
 KVStoreConfig KVStoreConfig.setDurability(Durability durability)
          Configures the default write Durability to be used when a Durability is not specified for a particular write operation.
 

Uses of Durability in oracle.kv.lob
 

Methods in oracle.kv.lob with parameters of type Durability
 boolean KVLargeObject.deleteLOB(Key lobKey, Durability durability, long lobTimeout, TimeUnit timeoutUnit)
          Deletes the LOB associated with the key.
 Version KVLargeObject.putLOB(Key lobKey, InputStream lobStream, Durability durability, long lobTimeout, TimeUnit timeoutUnit)
          Put a key/LOB value pair, inserting new value or overwriting an existing pair as appropriate.
 Version KVLargeObject.putLOBIfAbsent(Key lobKey, InputStream lobStream, Durability durability, long lobTimeout, TimeUnit timeoutUnit)
          Put a key/LOB value pair, but only if no value or a partial LOB for the given key is present.
 Version KVLargeObject.putLOBIfPresent(Key lobKey, InputStream lobStream, Durability durability, long lobTimeout, TimeUnit timeoutUnit)
          Put a key/LOB value pair, but only if a complete value for the given key is present.
 


Oracle NoSQL Database
version 11gR2.2.0.26

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