source: branches/supervisor/src/main/java/omq/common/broker/RemoteMultiBroker.java @ 107

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 
1package omq.common.broker;
2
3import omq.Remote;
4import omq.client.annotation.MultiMethod;
5import omq.client.annotation.SyncMethod;
6import omq.exception.RetryException;
7
8public 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.