@Override public MessageStoreStatistics getMessageStoreStatistics() { return delegate.getMessageStoreStatistics(); }
@Override public MessageStoreStatistics getMessageStoreStatistics() { return delegate.getMessageStoreStatistics(); }
/** * Locate the storeMessageSize counter for this KahaDestination */ protected MessageStoreStatistics getStoreStats(String kahaDestKey) { MessageStoreStatistics storeStats = null; try { MessageStore messageStore = storeCache.get(kahaDestKey); if (messageStore != null) { storeStats = messageStore.getMessageStoreStatistics(); } } catch (Exception e1) { LOG.error("Getting size counter of destination failed", e1); } return storeStats; }
@Override public long getStoreMessageSize() { MessageStore messageStore = destination.getMessageStore(); return messageStore != null ? messageStore.getMessageStoreStatistics().getMessageSize().getTotalSize() : 0; }
@Override public MessageStoreStatistics getMessageStoreStatistics() { return delegate.getMessageStoreStatistics(); }
@Override public MessageStoreStatistics getMessageStoreStatistics() { return delegate.getMessageStoreStatistics(); }
@Override public MessageStoreStatistics getMessageStoreStatistics() { return delegate.getMessageStoreStatistics(); }
/** * Locate the storeMessageSize counter for this KahaDestination */ protected MessageStoreStatistics getStoreStats(String kahaDestKey) { MessageStoreStatistics storeStats = null; try { MessageStore messageStore = storeCache.get(kahaDestKey); if (messageStore != null) { storeStats = messageStore.getMessageStoreStatistics(); } } catch (Exception e1) { LOG.error("Getting size counter of destination failed", e1); } return storeStats; }
/** * Locate the storeMessageSize counter for this KahaDestination */ protected MessageStoreStatistics getStoreStats(String kahaDestKey) { MessageStoreStatistics storeStats = null; try { MessageStore messageStore = storeCache.get(kahaDestKey); if (messageStore != null) { storeStats = messageStore.getMessageStoreStatistics(); } } catch (Exception e1) { LOG.error("Getting size counter of destination failed", e1); } return storeStats; }
/** * Locate the storeMessageSize counter for this KahaDestination */ protected MessageStoreStatistics getStoreStats(String kahaDestKey) { MessageStoreStatistics storeStats = null; try { MessageStore messageStore = storeCache.get(kahaDestKey); if (messageStore != null) { storeStats = messageStore.getMessageStoreStatistics(); } } catch (Exception e1) { LOG.error("Getting size counter of destination failed", e1); } return storeStats; }
@Override public long getStoreMessageSize() { MessageStore messageStore = destination.getMessageStore(); return messageStore != null ? messageStore.getMessageStoreStatistics().getMessageSize().getTotalSize() : 0; }
@Override public long getStoreMessageSize() { MessageStore messageStore = destination.getMessageStore(); return messageStore != null ? messageStore.getMessageStoreStatistics().getMessageSize().getTotalSize() : 0; }
@Override public long getStoreMessageSize() { MessageStore messageStore = destination.getMessageStore(); return messageStore != null ? messageStore.getMessageStoreStatistics().getMessageSize().getTotalSize() : 0; }