Skip navigation links

Oracle® Coherence Java API Reference
Release 12.1.2.0.3

E26043-02


com.tangosol.util
Class RegistrationBehavior

java.lang.Object
  extended by java.lang.Enum
      extended by com.tangosol.util.RegistrationBehavior

All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable

public final class RegistrationBehavior
extends java.lang.Enum

A RegistrationBehavior is used by numerous registries for the purpose of specifying the required behavior when registering an artifact.

Since:
Coherence 12.1.2
Author:
bo 2012.10

Field Summary
static RegistrationBehavior ALWAYS
          Specifies that registration must always occur.
static RegistrationBehavior FAIL
          Specifies that registration should fail (by raising an exception) if the identified artifact is already registered.
static RegistrationBehavior IGNORE
          Specifies that registration should be ignored and skipped (without raising an error or exception) if the artifact to be registered is already known.
static RegistrationBehavior REPLACE
          Specifies that registration should replace an existing identified artifact with that of which was specified.

 

Method Summary
static RegistrationBehavior valueOf(java.lang.String name)
           
static RegistrationBehavior[] values()
           

 

Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf

 

Field Detail

IGNORE

public static final RegistrationBehavior IGNORE
Specifies that registration should be ignored and skipped (without raising an error or exception) if the artifact to be registered is already known.

REPLACE

public static final RegistrationBehavior REPLACE
Specifies that registration should replace an existing identified artifact with that of which was specified.

FAIL

public static final RegistrationBehavior FAIL
Specifies that registration should fail (by raising an exception) if the identified artifact is already registered.

ALWAYS

public static final RegistrationBehavior ALWAYS
Specifies that registration must always occur. If an identifiable artifact is already registered, a new identity is generated (based on the provided identity) and the specified artifact is registered.

Method Detail

values

public static RegistrationBehavior[] values()

valueOf

public static RegistrationBehavior valueOf(java.lang.String name)

Skip navigation links

Oracle® Coherence Java API Reference
Release 12.1.2.0.3

E26043-02


Copyright © 2000, 2014, Oracle and/or its affiliates. All rights reserved.