Add missing @Overrides
This commit is contained in:
parent
a4648f4a93
commit
389762cb3a
|
@ -555,6 +555,7 @@ final class PageSubscriptionImpl implements PageSubscription {
|
|||
processACK(position);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void lateDeliveryRollback(PagePosition position) {
|
||||
PageCursorInfo cursorInfo = processACK(position);
|
||||
cursorInfo.decrementPendingTX();
|
||||
|
|
|
@ -196,6 +196,7 @@ public class DuplicateIDCacheImpl implements DuplicateIDCache {
|
|||
|
||||
}
|
||||
|
||||
@Override
|
||||
public synchronized void addToCache(final byte[] duplID, final Transaction tx, boolean instantAdd) throws Exception {
|
||||
long recordID = -1;
|
||||
|
||||
|
|
|
@ -330,8 +330,10 @@ public class BridgeImpl implements Bridge, SessionFailureListener, SendAcknowled
|
|||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public void disconnect() {
|
||||
executor.execute(new Runnable() {
|
||||
@Override
|
||||
public void run() {
|
||||
if (session != null) {
|
||||
try {
|
||||
|
@ -399,6 +401,7 @@ public class BridgeImpl implements Bridge, SessionFailureListener, SendAcknowled
|
|||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public void pause() throws Exception {
|
||||
if (ActiveMQServerLogger.LOGGER.isDebugEnabled()) {
|
||||
ActiveMQServerLogger.LOGGER.debug("Bridge " + this.name + " being paused");
|
||||
|
@ -1068,6 +1071,7 @@ public class BridgeImpl implements Bridge, SessionFailureListener, SendAcknowled
|
|||
bridge = bridge2;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void run() {
|
||||
bridge.connect();
|
||||
}
|
||||
|
|
|
@ -727,6 +727,7 @@ public class ServerConsumerImpl implements ServerConsumer, ReadyListener {
|
|||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public void individualAcknowledge(Transaction tx,
|
||||
final long messageID) throws Exception {
|
||||
if (browseOnly) {
|
||||
|
|
|
@ -67,6 +67,7 @@ public class NIOSequentialFileFactoryTest extends SequentialFileFactoryTestBase
|
|||
}, 1);
|
||||
|
||||
Thread threadOpen = new Thread() {
|
||||
@Override
|
||||
public void run() {
|
||||
try {
|
||||
Thread.currentThread().interrupt();
|
||||
|
@ -83,6 +84,7 @@ public class NIOSequentialFileFactoryTest extends SequentialFileFactoryTestBase
|
|||
threadOpen.join();
|
||||
|
||||
Thread threadClose = new Thread() {
|
||||
@Override
|
||||
public void run() {
|
||||
try {
|
||||
SequentialFile file = factory.createSequentialFile("file.txt");
|
||||
|
@ -101,6 +103,7 @@ public class NIOSequentialFileFactoryTest extends SequentialFileFactoryTestBase
|
|||
threadClose.join();
|
||||
|
||||
Thread threadWrite = new Thread() {
|
||||
@Override
|
||||
public void run() {
|
||||
try {
|
||||
SequentialFile file = factory.createSequentialFile("file.txt");
|
||||
|
@ -120,6 +123,7 @@ public class NIOSequentialFileFactoryTest extends SequentialFileFactoryTestBase
|
|||
threadWrite.join();
|
||||
|
||||
Thread threadFill = new Thread() {
|
||||
@Override
|
||||
public void run() {
|
||||
try {
|
||||
SequentialFile file = factory.createSequentialFile("file.txt");
|
||||
|
@ -139,6 +143,7 @@ public class NIOSequentialFileFactoryTest extends SequentialFileFactoryTestBase
|
|||
threadFill.join();
|
||||
|
||||
Thread threadWriteDirect = new Thread() {
|
||||
@Override
|
||||
public void run() {
|
||||
try {
|
||||
SequentialFile file = factory.createSequentialFile("file.txt");
|
||||
|
@ -160,6 +165,7 @@ public class NIOSequentialFileFactoryTest extends SequentialFileFactoryTestBase
|
|||
threadWriteDirect.join();
|
||||
|
||||
Thread threadRead = new Thread() {
|
||||
@Override
|
||||
public void run() {
|
||||
try {
|
||||
SequentialFile file = factory.createSequentialFile("file.txt");
|
||||
|
|
Loading…
Reference in New Issue