Package | Description |
---|---|
com.pushtechnology.diffusion.api.data |
Diffusion Topic Data API.
|
com.pushtechnology.diffusion.api.data.paging |
Diffusion Paged Topic Data API.
|
com.pushtechnology.diffusion.api.data.pb |
Diffusion Protocol Buffers Topic Data API.
|
com.pushtechnology.diffusion.api.data.record |
Diffusion Record Topic Data API.
|
com.pushtechnology.diffusion.api.data.service |
Diffusion Service Topic Data API.
|
com.pushtechnology.diffusion.api.data.single |
Diffusion Single Value Topic Data API.
|
com.pushtechnology.diffusion.api.topic |
Diffusion Topics API.
|
Modifier and Type | Method and Description |
---|---|
TopicMessage |
TopicData.getLoadMessage()
This returns the current data state as a Topic Load message.
|
TopicMessage |
TopicData.getLoadMessage(TopicClient client)
This returns the current data state as a Topic Load message.
|
void |
TopicData.lock()
Deprecated.
since 5.5. All API topic locking methods are deprecated and
will be removed in a future release. There is no reason for
applications to lock topics with topic data. Multiple updates
to topic data can be grouped using
PublishingTopicData.startUpdate() /
PublishingTopicData.endUpdate() . |
void |
PublishingTopicData.startUpdate()
Locks the parent topic in preparation for updates.
|
boolean |
PublishingTopicData.updateAndPublish(TopicMessage message)
Convenience method to perform an atomic update and publish a delta
message if any changes are detected.
|
boolean |
PublishingTopicData.updateAndPublish(TopicMessage message,
MessagePriority priority)
As
PublishingTopicData.updateAndPublish(TopicMessage) but allowing a message
priority to be specified. |
void |
PublishingTopicData.updateAndPublishFromDelta(TopicMessage message)
This method allows the topic data to be updated using input that
represents only deltas of change to the topic.
|
Modifier and Type | Method and Description |
---|---|
void |
PagedRecordTopicData.add(int index,
List<Record> lines)
Deprecated.
Add (insert) one or more lines to the data at the specified index.
|
void |
PagedStringTopicData.add(int index,
List<String> lines)
Deprecated.
Add (insert) one or more lines to the data at the specified index.
|
void |
PagedRecordTopicData.add(int index,
Record line)
Deprecated.
Add (insert) a line to the data at the specified index.
|
void |
PagedStringTopicData.add(int index,
String line)
Deprecated.
Add (insert) a line to the data at the specified index.
|
void |
PagedRecordTopicData.add(List<Record> lines)
Deprecated.
Add one or more lines to the data.
|
void |
PagedStringTopicData.add(List<String> lines)
Deprecated.
Add one or more lines to the end of the data.
|
int |
PagedRecordTopicData.add(Record line)
Deprecated.
Add a line to the data.
|
int |
PagedStringTopicData.add(String line)
Deprecated.
Add a line to the data.
|
void |
PagedStringTopicData.add(TopicMessage message)
Deprecated.
Add data from a message.
|
void |
PagedRecordTopicData.add(TopicMessage message)
Deprecated.
Adds data from a message.
|
int |
PagedTopicData.remove(int index,
int number)
Deprecated.
Removes one or more lines from the data.
|
Record |
PagedRecordTopicData.remove(Record record)
Deprecated.
Removed the line that matches the supplied record from the data.
|
String |
PagedStringTopicData.remove(String line)
Deprecated.
Removed the line that matches the supplied string from the data.
|
boolean |
PagedRecordTopicData.update(int index,
Record line)
Deprecated.
Update the line at the specified index with a given value.
|
boolean |
PagedStringTopicData.update(int index,
String value)
Deprecated.
Update the line at the specified index with a given value.
|
boolean |
PagedRecordTopicData.update(Record line)
Deprecated.
Update the line that matches the specified Record with the specified
line.
|
boolean |
PagedStringTopicData.update(String line)
Deprecated.
Update the line that matches the specified String with the specified
line.
|
Modifier and Type | Method and Description |
---|---|
com.google.protobuf.DynamicMessage |
PBTopicData.getState()
Deprecated.
Gets the current state of the data as a DynamicMessage.
|
boolean |
PBTopicData.updateAndPublish(com.google.protobuf.AbstractMessage message)
Deprecated.
As
PublishingTopicData.updateAndPublish(com.pushtechnology.diffusion.api.message.TopicMessage)
but calling PBTopicData.update(AbstractMessage) to perform the updating. |
Modifier and Type | Method and Description |
---|---|
List<Record> |
RecordTopicData.getState()
Gets the current state of the data as a List of Records.
|
Record |
RecordTopicData.getStateRecord(String recordName,
int index)
Gets the current state of a particular Record occurrence within the data.
|
Modifier and Type | Method and Description |
---|---|
void |
ServiceTopicData.setServiceData(TopicMessage data)
Deprecated.
Sets data that will be returned to any client that subscribed to a
service topic in it's load message.
|
Modifier and Type | Method and Description |
---|---|
boolean |
SingleValueTopicData.updateAndPublish(Object value)
As
PublishingTopicData.updateAndPublish(com.pushtechnology.diffusion.api.message.TopicMessage)
but calling SingleValueTopicData.update(Object) to perform the updating. |
Modifier and Type | Method and Description |
---|---|
void |
Topic.lock()
Deprecated.
since 5.6
All API topic locking methods are deprecated and will be removed in a future release.
In previous releases it was necessary to lock a stateless
topic before |
Copyright © 2016 Push Technology Ltd. All Rights Reserved.