public static enum Liveliness.Kind extends Enum<Liveliness.Kind>
Enum Constant and Description |
---|
AUTOMATIC
The infrastructure will automatically signal liveliness for the
DataWriter s at least as often as required by the
leaseDuration. |
MANUAL_BY_PARTICIPANT
The user application takes responsibility to signal liveliness to
the Service.
|
MANUAL_BY_TOPIC
The user application takes responsibility to signal liveliness to
the Service.
|
Modifier and Type | Method and Description |
---|---|
static Liveliness.Kind |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Liveliness.Kind[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Liveliness.Kind AUTOMATIC
DataWriter
s at least as often as required by the
leaseDuration.public static final Liveliness.Kind MANUAL_BY_PARTICIPANT
Entity
is no longer "active/alive."
The Service will assume that as long as at least one Entity
within the DomainParticipant
has asserted its liveliness
the other Entities in that same DomainParticipant are also alive.public static final Liveliness.Kind MANUAL_BY_TOPIC
Entity
is no longer "active/alive."
The Service will only assume liveliness of the DataWriter
if the application has asserted liveliness of that DataWriter
itself.public static Liveliness.Kind[] values()
for (Liveliness.Kind c : Liveliness.Kind.values()) System.out.println(c);
public static Liveliness.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.