@Override public long getMessageSize(String clientId, String subscriberName) throws IOException { return ((TopicMessageStore)delegate).getMessageSize(clientId, subscriberName); }
@Override protected synchronized long getStoreMessageSize() { try { return store.getMessageSize(clientId, subscriberName); } catch (Exception e) { LOG.error("{} Failed to get the outstanding message count from the store", this, e); throw new RuntimeException(e); } }
@Override public long getMessageSize(String clientId, String subscriberName) throws IOException { this.peristenceAdapter.checkpoint(true, true); return longTermStore.getMessageSize(clientId, subscriberName); }
@Override public long getMessageSize(String clientId, String subscriberName) throws IOException { return delegate.getMessageSize(clientId, subscriberName); }
@Override public long getMessageSize(String clientId, String subscriberName) throws IOException { return delegate.getMessageSize(clientId, subscriberName); }
@Override public long getMessageSize() throws IOException { return delegate.getMessageSize(); }
@Override public long getMessageSize(String clientId, String subscriberName) throws IOException { return delegate.getMessageSize(clientId, subscriberName); }
@Override public long getMessageSize() throws IOException { return delegate.getMessageSize(); }
@Override public long getMessageSize() throws IOException { return delegate.getMessageSize(); }
@Override protected synchronized long getStoreMessageSize() { try { return store.getMessageSize(clientId, subscriberName); } catch (Exception e) { LOG.error("{} Failed to get the outstanding message count from the store", this, e); throw new RuntimeException(e); } }
@Override protected synchronized long getStoreMessageSize() { try { return store.getMessageSize(clientId, subscriberName); } catch (Exception e) { LOG.error("{} Failed to get the outstanding message count from the store", this, e); throw new RuntimeException(e); } }
@Override protected synchronized long getStoreMessageSize() { try { return store.getMessageSize(clientId, subscriberName); } catch (Exception e) { LOG.error("{} Failed to get the outstanding message count from the store", this, e); throw new RuntimeException(e); } }
@Override public long getMessageSize(String clientId, String subscriberName) throws IOException { this.peristenceAdapter.checkpoint(true, true); return longTermStore.getMessageSize(clientId, subscriberName); }
@Override public long getMessageSize(String clientId, String subscriberName) throws IOException { this.peristenceAdapter.checkpoint(true, true); return longTermStore.getMessageSize(clientId, subscriberName); }
@Override public long getMessageSize(String clientId, String subscriberName) throws IOException { this.peristenceAdapter.checkpoint(true, true); return longTermStore.getMessageSize(clientId, subscriberName); }