Spring Data Couchbase

org.springframework.data.couchbase.core
Enum WriteResultChecking

java.lang.Object
  extended by java.lang.Enum<WriteResultChecking>
      extended by org.springframework.data.couchbase.core.WriteResultChecking
All Implemented Interfaces:
Serializable, Comparable<WriteResultChecking>

public enum WriteResultChecking
extends Enum<WriteResultChecking>

How failing write results should be handled.

Author:
Michael Nitschinger

Enum Constant Summary
EXCEPTION
          Throw Exceptions on failing write results.
LOG
          Log failing write results.
NONE
          Ignore failing write results.
 
Method Summary
static WriteResultChecking valueOf(String name)
          Returns the enum constant of this type with the specified name.
static WriteResultChecking[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

NONE

public static final WriteResultChecking NONE
Ignore failing write results.


LOG

public static final WriteResultChecking LOG
Log failing write results.


EXCEPTION

public static final WriteResultChecking EXCEPTION
Throw Exceptions on failing write results.

Method Detail

values

public static WriteResultChecking[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (WriteResultChecking c : WriteResultChecking.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static WriteResultChecking valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null

Spring Data Couchbase

Copyright © 2011-2014–2014 Pivotal Software, Inc.. All rights reserved.