public static enum Ownership.Kind extends java.lang.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(java.lang.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(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified namejava.lang.NullPointerException
- if the argument is null
Copyright © 2010 Real-Time Innovations, Inc. (RTI)
Copyright © 2010 PrismTech, Ltd.
Copyright © 2010 Object Management Group, Inc. (OMG)
All Rights Reserved.