This topic type will be removed in a future release
@Deprecated public interface PagedStringTopicDetails extends PagedTopicDetails
Paged String
topic.
This is a PagedTopicDetails
where each line of data is a
String
.
A Paged String topic can be unordered (the default) or ordered. There are two
types of ordering, declared
where the rules for
ordering are explicitly specified or comparator
where ordering is determined by a server side Comparator
of generic
type String
. The ordering may be obtained from the policy returned
from PagedTopicDetails.Attributes.getOrderingPolicy()
If ordering is declared, the
ordering policy
returned
by PagedTopicDetails.Attributes.getOrderingPolicy()
method can be
cast to PagedStringTopicDetails.Attributes.PagedStringOrderingPolicy
to obtain further
detail.
When defining details an ordering policy may be specified using the
appropriate PagedStringTopicDetails.Builder.order()
method.
The easiest way to create an instance of such details is using
TopicControl.newDetails(TopicType)
, for example:
TopicControl control = session.feature(TopicControl.class);
TopicDetails details = control.newDetails(TopicType.PAGED_STRING);
Alternatively the details can be created using a builder obtained as follows:
PagedStringTopicDetails.Builder builder = control.newDetailsBuilder(PagedStringTopicDetails.Builder.class);
Modifier and Type | Interface and Description |
---|---|
static interface |
PagedStringTopicDetails.Attributes
Deprecated.
Paged String topic details attributes.
|
static interface |
PagedStringTopicDetails.Builder
Deprecated.
Builder for Paged String topic details.
|
static interface |
PagedStringTopicDetails.Schema
Deprecated.
Paged String topic details schema.
|
TopicDetails.Level
Modifier and Type | Method and Description |
---|---|
PagedStringTopicDetails.Builder |
newBuilder()
Deprecated.
Returns a new builder initialized with the values from these details.
|
getAttributes, getLevel, getSchema, getType
PagedStringTopicDetails.Builder newBuilder()
Copyright © 2016 Push Technology Ltd. All Rights Reserved.