private long clear(final long request) throws AMQSecurityException
{
//Perform ACLs
if (!getVirtualHost().getSecurityManager().authorisePurge(this))
{
throw new AMQSecurityException("Permission denied: queue " + getName());
}
QueueEntryIterator queueListIterator = _entries.iterator();
long count = 0;