@ThreadSafe
public final class TopicInfo
extends Object
implements Serializable
| Constructor and Description |
|---|
TopicInfo() |
| Modifier and Type | Method and Description |
|---|---|
DateTime |
getLastPublish()
Gets the last publish time.
|
int |
getPublisherCount()
Gets the publisher count.
|
int |
getSubscriberCount()
Gets the subscriber count.
|
void |
setLastPublish(DateTime lastPublish)
Sets the last publish time.
|
void |
updatePublisherCount(int delta)
Updates the publisher count.
|
void |
updateSubscriberCount(int delta)
Updates the subscriber count.
|
@CheckReturnValue public DateTime getLastPublish()
@Nonnegative @CheckReturnValue public int getPublisherCount()
@Nonnegative @CheckReturnValue public int getSubscriberCount()
public void setLastPublish(@Nonnull
DateTime lastPublish)
lastPublish - The last publish time.public void updatePublisherCount(@Nonnegative
int delta)
delta - The count delta.public void updateSubscriberCount(@Nonnegative
int delta)
delta - The count delta.Copyright © 2003-2019 Serge Brisson. All Rights Reserved.