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