public static enum Ownership.Kind extends Enum<Ownership.Kind>
Enum Constant and Description |
---|
EXCLUSIVE
Indicates each instance can only be owned by one
DataWriter , but the owner of an instance can change
dynamically. |
SHARED
Indicates shared ownership for each instance.
|
Modifier and Type | Method and Description |
---|---|
static Ownership.Kind |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Ownership.Kind[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Ownership.Kind SHARED
public static final Ownership.Kind EXCLUSIVE
DataWriter
, but the owner of an instance can change
dynamically. The selection of the owner is controlled by the
setting of the OwnershipStrength
. The owner is
always set to be the highest-strength DataWriter object among the
ones currently "active" (as determined by the
Liveliness
).public static Ownership.Kind[] values()
for (Ownership.Kind c : Ownership.Kind.values()) System.out.println(c);
public static Ownership.Kind valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant
with the specified nameNullPointerException
- if the argument is nullCopyright © 2014. All rights reserved.