org.apache.activemq.artemis.core.paging.cursor.impl.PageSubscriptionCounterImpl

Here are the examples of the java api class org.apache.activemq.artemis.core.paging.cursor.impl.PageSubscriptionCounterImpl taken from open source projects.

1. DescribeJournal#lookupCounter()

View license
protected static PageSubscriptionCounterImpl lookupCounter(Map<Long, PageSubscriptionCounterImpl> counters, long queueIDForCounter) {
    PageSubscriptionCounterImpl subsCounter;
    subsCounter = counters.get(queueIDForCounter);
    if (subsCounter == null) {
        subsCounter = new PageSubscriptionCounterImpl(null, null, null, false, -1);
        counters.put(queueIDForCounter, subsCounter);
    }
    return subsCounter;
}