Line | |
---|
1 | package omq.common.broker; |
---|
2 | |
---|
3 | import java.util.Set; |
---|
4 | |
---|
5 | import omq.Remote; |
---|
6 | import omq.client.annotation.MultiMethod; |
---|
7 | import omq.client.annotation.SyncMethod; |
---|
8 | import omq.exception.RetryException; |
---|
9 | |
---|
10 | public interface RemoteMultiBroker extends Remote { |
---|
11 | @MultiMethod |
---|
12 | @SyncMethod(retry = 1, timeout = 1000) |
---|
13 | public Set<String> getRemoteObjects(); |
---|
14 | |
---|
15 | @MultiMethod |
---|
16 | @SyncMethod(retry = 1, timeout = 1000) |
---|
17 | public boolean[] hasObject(String reference) throws RetryException; |
---|
18 | |
---|
19 | @MultiMethod |
---|
20 | @SyncMethod(retry = 1, timeout = 1000) |
---|
21 | public HasObject[] hasObjectInfo(String reference) throws RetryException; |
---|
22 | |
---|
23 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.