use of com.sun.messaging.jmq.jmsserver.persist.api.DiskFileStore in project openmq by eclipse-ee4j.
the class Destination method compact.
/**
* Compact the message file.
*/
public void compact() throws BrokerException {
if (!(pstore instanceof DiskFileStore)) {
throw new BrokerException("XXXI18N - operation not supported");
}
((DiskFileStore) pstore).compactDestination(this);
Agent agent = Globals.getAgent();
if (agent != null) {
agent.notifyDestinationCompact(this);
}
}
Aggregations