Class TopicMetadata
The metadata of the topic.
Fields Summary
String
|
name
Name of metadata |
String
|
xml
XML of metadata |
Constructor Summary
TopicMetadata
|
TopicMetadata
|
Method Summary
static TopicMetadata
|
getTopicMetadata(name, xml)
Method to either create or get topic data from the cache. |
Constructor Details
TopicMetadata
TopicMetadata TopicMetadata
- Parameters
-
name
- Name -
xml
- XML
- Since:
- 4.6
Field Details
name
String name
Name of metadata
xml
String xml
XML of metadata
Method Details
getTopicMetadata
static TopicMetadata getTopicMetadata(name, xml)
Method to either create or get topic data from the cache. If two arguments are provide it creates a new metadata object and places it in the cache. If one argument is provided it looks up the name in the cache.
- Parameters
-
name
- Name of metadata -
xml
- (Optional) The XML of the metadata
- Since:
- 4.6