Package org.apache.ignite.internal
Enum GridTopic
- java.lang.Object
-
- java.lang.Enum<GridTopic>
-
- org.apache.ignite.internal.GridTopic
-
- All Implemented Interfaces:
Serializable
,Comparable<GridTopic>
public enum GridTopic extends Enum<GridTopic>
Communication topic.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description TOPIC_AUTH
TOPIC_CACHE
Cache topic.TOPIC_CHECKPOINT
TOPIC_CLASSLOAD
TOPIC_COMM_SYSTEM
TOPIC_COMM_USER
TOPIC_CONTINUOUS
TOPIC_DATASTREAM
TOPIC_DEADLOCK_DETECTION
TOPIC_DISTRIBUTED_PROCESS
Message topic for the distributed process.TOPIC_EVENT
TOPIC_EXCHANGE
TOPIC_GEN_ENC_KEY
TOPIC_HADOOP
Deprecated.Component was removed.TOPIC_HADOOP_MSG
TOPIC_IGFS
Deprecated.Component was removed.TOPIC_INTERNAL_DIAGNOSTIC
TOPIC_IO_TEST
TOPIC_JOB
TOPIC_JOB_CANCEL
TOPIC_JOB_SIBLINGS
TOPIC_MAPPING_MARSH
TOPIC_METADATA_REQ
TOPIC_METRICS
TOPIC_MONGO
Deprecated.Should be removed in Apache Ignite 3.0.TOPIC_QUERY
TOPIC_REPLICATION
TOPIC_REST
TOPIC_SCHEMA
TOPIC_SERVICES
TOPIC_SNAPSHOT
TOPIC_STATISTICS
Statistics related messages topic.TOPIC_STREAM
TOPIC_TASK
TOPIC_TASK_CANCEL
TOPIC_TIME_SYNC
TOPIC_TX
TOPIC_WAL
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static @Nullable GridTopic
fromOrdinal(int ord)
Efficiently gets enumerated value from its ordinal.Object
topic(String id)
NOTE: The method should be used only for cases when there is no any other non-string identifier(s) to use to differentiate topics.Object
topic(String id1, int id2, long id3)
Object
topic(String id1, long id2)
Object
topic(String id1, UUID id2, int id3, long id4)
Object
topic(String id1, UUID id2, long id3)
Object
topic(IgniteUuid id)
Object
topic(IgniteUuid id1, long id2)
Object
topic(IgniteUuid id1, UUID id2)
static GridTopic
valueOf(String name)
Returns the enum constant of this type with the specified name.static GridTopic[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
TOPIC_JOB
public static final GridTopic TOPIC_JOB
-
TOPIC_JOB_SIBLINGS
public static final GridTopic TOPIC_JOB_SIBLINGS
-
TOPIC_TASK
public static final GridTopic TOPIC_TASK
-
TOPIC_CHECKPOINT
public static final GridTopic TOPIC_CHECKPOINT
-
TOPIC_JOB_CANCEL
public static final GridTopic TOPIC_JOB_CANCEL
-
TOPIC_TASK_CANCEL
public static final GridTopic TOPIC_TASK_CANCEL
-
TOPIC_CLASSLOAD
public static final GridTopic TOPIC_CLASSLOAD
-
TOPIC_EVENT
public static final GridTopic TOPIC_EVENT
-
TOPIC_CACHE
public static final GridTopic TOPIC_CACHE
Cache topic.
-
TOPIC_COMM_USER
public static final GridTopic TOPIC_COMM_USER
-
TOPIC_REST
public static final GridTopic TOPIC_REST
-
TOPIC_REPLICATION
public static final GridTopic TOPIC_REPLICATION
-
TOPIC_IGFS
@Deprecated public static final GridTopic TOPIC_IGFS
Deprecated.Component was removed. Enum can't be removed because enum ordinal is important.
-
TOPIC_DATASTREAM
public static final GridTopic TOPIC_DATASTREAM
-
TOPIC_STREAM
public static final GridTopic TOPIC_STREAM
-
TOPIC_CONTINUOUS
public static final GridTopic TOPIC_CONTINUOUS
-
TOPIC_MONGO
@Deprecated public static final GridTopic TOPIC_MONGO
Deprecated.Should be removed in Apache Ignite 3.0.
-
TOPIC_TIME_SYNC
public static final GridTopic TOPIC_TIME_SYNC
-
TOPIC_HADOOP
@Deprecated public static final GridTopic TOPIC_HADOOP
Deprecated.Component was removed. Enum can't be removed because enum ordinal is important.
-
TOPIC_QUERY
public static final GridTopic TOPIC_QUERY
-
TOPIC_TX
public static final GridTopic TOPIC_TX
-
TOPIC_SNAPSHOT
public static final GridTopic TOPIC_SNAPSHOT
-
TOPIC_IO_TEST
public static final GridTopic TOPIC_IO_TEST
-
TOPIC_MAPPING_MARSH
public static final GridTopic TOPIC_MAPPING_MARSH
-
TOPIC_HADOOP_MSG
public static final GridTopic TOPIC_HADOOP_MSG
-
TOPIC_METADATA_REQ
public static final GridTopic TOPIC_METADATA_REQ
-
TOPIC_SCHEMA
public static final GridTopic TOPIC_SCHEMA
-
TOPIC_INTERNAL_DIAGNOSTIC
public static final GridTopic TOPIC_INTERNAL_DIAGNOSTIC
-
TOPIC_WAL
public static final GridTopic TOPIC_WAL
-
TOPIC_METRICS
public static final GridTopic TOPIC_METRICS
-
TOPIC_AUTH
public static final GridTopic TOPIC_AUTH
-
TOPIC_EXCHANGE
public static final GridTopic TOPIC_EXCHANGE
-
TOPIC_GEN_ENC_KEY
public static final GridTopic TOPIC_GEN_ENC_KEY
-
TOPIC_SERVICES
public static final GridTopic TOPIC_SERVICES
-
TOPIC_DEADLOCK_DETECTION
public static final GridTopic TOPIC_DEADLOCK_DETECTION
-
TOPIC_DISTRIBUTED_PROCESS
public static final GridTopic TOPIC_DISTRIBUTED_PROCESS
Message topic for the distributed process. SeeDistributedProcess
.
-
TOPIC_COMM_SYSTEM
public static final GridTopic TOPIC_COMM_SYSTEM
-
TOPIC_STATISTICS
public static final GridTopic TOPIC_STATISTICS
Statistics related messages topic.
-
-
Method Detail
-
values
public static GridTopic[] 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 (GridTopic c : GridTopic.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static GridTopic 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 nameNullPointerException
- if the argument is null
-
fromOrdinal
@Nullable public static @Nullable GridTopic fromOrdinal(int ord)
Efficiently gets enumerated value from its ordinal.- Parameters:
ord
- Ordinal value.- Returns:
- Enumerated value.
-
topic
public Object topic(IgniteUuid id)
- Parameters:
id
- Topic ID.- Returns:
- Grid message topic with specified ID.
-
topic
public Object topic(IgniteUuid id1, UUID id2)
- Parameters:
id1
- ID1.id2
- ID2.- Returns:
- Grid message topic with specified IDs.
-
topic
public Object topic(IgniteUuid id1, long id2)
- Parameters:
id1
- ID1.id2
- ID2.- Returns:
- Grid message topic with specified IDs.
-
topic
public Object topic(String id)
NOTE: The method should be used only for cases when there is no any other non-string identifier(s) to use to differentiate topics.- Parameters:
id
- Topic ID.- Returns:
- Grid message topic with specified ID.
-
topic
public Object topic(String id1, long id2)
- Parameters:
id1
- ID1.id2
- ID2.- Returns:
- Grid message topic with specified IDs.
-
topic
public Object topic(String id1, int id2, long id3)
- Parameters:
id1
- ID1.id2
- ID2.id3
- ID3.- Returns:
- Grid message topic with specified IDs.
-
topic
public Object topic(String id1, UUID id2, long id3)
- Parameters:
id1
- ID1.id2
- ID2.id3
- ID3.- Returns:
- Grid message topic with specified IDs.
-
-