public interface LocalQCacheOpSender
LocalQCacheOp
to remote node.
LocalQCacheOpRMISender
Modifier and Type | Interface and Description |
---|---|
static class |
LocalQCacheOpSender.RecoverableFailure
Exception used by sender to signal
LocalQCacheOp could not be delivered, but should be retried "indefinitely". |
static class |
LocalQCacheOpSender.UnrecoverableFailure
Exception used by sender to signal
LocalQCacheOp could not be delivered, but is "probably" a poison message
and cannot be delivered now or ever. |
Modifier and Type | Method and Description |
---|---|
void |
send(Node node,
LocalQCacheOp localQCacheOp)
If any
RuntimeException or LocalQCacheOpSender.UnrecoverableFailure is thrown LocalQCacheOp may never be send. |
void send(Node node, LocalQCacheOp localQCacheOp) throws LocalQCacheOpSender.RecoverableFailure, LocalQCacheOpSender.UnrecoverableFailure
RuntimeException
or LocalQCacheOpSender.UnrecoverableFailure
is thrown LocalQCacheOp
may never be send.
It is possible to do a limited number of retries of sending by setting LocalQCacheOpSender.UnrecoverableFailure.retry
.
LocalQCacheOpSender.RecoverableFailure
means the send failure is temporary and should be retried "forever"Copyright © 2002-2019 Atlassian. All Rights Reserved.