use of org.jivesoftware.util.cache.ClusterTask in project Openfire by igniterealtime.
the class RemoteSession method getStreamID.
public StreamID getStreamID() {
// Get it once and cache it since it never changes
if (streamID == null) {
ClusterTask task = getRemoteSessionTask(RemoteSessionTask.Operation.getStreamID);
streamID = (StreamID) doSynchronousClusterTask(task);
}
return streamID;
}
Aggregations