Expose getDestinations() from the persistenceAdapator

git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@377397 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Robert Davies 2006-02-13 15:38:10 +00:00
parent f921ef7f61
commit f787e20139
1 changed files with 9 additions and 1 deletions

View File

@ -149,9 +149,17 @@ abstract public class AbstractRegion implements Region {
}
}
/**
* Get all the Destinations that are in storage
* @return Set of all stored destinations
*/
public Set getDurableDestinations(){
return persistenceAdapter.getDestinations();
}
/**
* @return
* @return all Destinations that don't have active consumers
*/
protected Set getInactiveDestinations() {
Set inactiveDests = persistenceAdapter.getDestinations();