Last change
on this file since 107 was
107,
checked in by stoda, 11 years ago
|
Error detected: there should be only one thread listening to the multiexchange queue.
TODO: change this. Make refactor in the invocationthread. Change remotethreadpool to achieve this behavior.
AInvocationThread <- InvocationTHread
<- MultiInvocationTHread
|
File size:
477 bytes
|
Line | |
---|
1 | package omq.common.broker; |
---|
2 | |
---|
3 | import omq.Remote; |
---|
4 | import omq.client.annotation.MultiMethod; |
---|
5 | import omq.client.annotation.SyncMethod; |
---|
6 | import omq.exception.RetryException; |
---|
7 | |
---|
8 | public interface RemoteMultiBroker extends Remote { |
---|
9 | |
---|
10 | @MultiMethod |
---|
11 | @SyncMethod(retry = 1, timeout = 1000) |
---|
12 | public boolean[] hasObject(String reference) throws RetryException; |
---|
13 | |
---|
14 | @MultiMethod |
---|
15 | @SyncMethod(retry = 1, timeout = 1000) |
---|
16 | public HasObject[] hasObjectInfo(String reference) throws RetryException; |
---|
17 | |
---|
18 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.