This closes #775
This commit is contained in:
commit
afee9247ef
|
@ -113,6 +113,7 @@ public abstract class ActiveMQScheduledComponent implements ActiveMQComponent, R
|
|||
|
||||
}
|
||||
|
||||
@Override
|
||||
public void run() {
|
||||
delayed.decrementAndGet();
|
||||
}
|
||||
|
|
|
@ -72,6 +72,7 @@ public class ActiveMQProtonConnectionCallback implements AMQPConnectionCallback
|
|||
return result;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean isSupportsAnonymous() {
|
||||
boolean supportsAnonymous = false;
|
||||
try {
|
||||
|
|
|
@ -82,6 +82,7 @@ public class ProtonServerConnectionContext extends AbstractConnectionContext imp
|
|||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public Symbol[] getConnectionCapabilitiesOffered() {
|
||||
return new Symbol[]{DELAYED_DELIVERY};
|
||||
}
|
||||
|
|
|
@ -76,6 +76,7 @@ final class PageSyncTimer extends ActiveMQScheduledComponent {
|
|||
syncOperations.add(ctx);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void run() {
|
||||
super.run();
|
||||
tick();
|
||||
|
|
|
@ -90,6 +90,7 @@ public final class PagingManagerImpl implements PagingManager {
|
|||
this(pagingSPI, addressSettingsRepository, -1);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void addBlockedStore(PagingStore store) {
|
||||
blockedStored.add(store);
|
||||
}
|
||||
|
@ -164,10 +165,12 @@ public final class PagingManagerImpl implements PagingManager {
|
|||
return diskFull;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean isUsingGlobalSize() {
|
||||
return maxSize > 0;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean isGlobalFull() {
|
||||
return diskFull || maxSize > 0 && globalSizeBytes.get() > maxSize;
|
||||
}
|
||||
|
|
|
@ -72,6 +72,7 @@ public class FileStoreMonitor extends ActiveMQScheduledComponent {
|
|||
}
|
||||
|
||||
|
||||
@Override
|
||||
public void run() {
|
||||
super.run();
|
||||
tick();
|
||||
|
|
|
@ -42,6 +42,7 @@ public class ReloadManagerImpl extends ActiveMQScheduledComponent implements Rel
|
|||
super(scheduledExecutorService, executor, checkPeriod, TimeUnit.MILLISECONDS, false);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void run() {
|
||||
super.run();
|
||||
tick();
|
||||
|
|
|
@ -115,9 +115,10 @@ public final class FakePagingManager implements PagingManager {
|
|||
}
|
||||
|
||||
/*
|
||||
* (non-Javadoc)
|
||||
* @see org.apache.activemq.artemis.core.paging.PagingManager#isGlobalFull()
|
||||
*/
|
||||
* (non-Javadoc)
|
||||
* @see org.apache.activemq.artemis.core.paging.PagingManager#isGlobalFull()
|
||||
*/
|
||||
@Override
|
||||
public boolean isGlobalFull() {
|
||||
return false;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue