public interface PeerService extends InvocationService<ClientObject>
InvocationService.ConfirmListener, InvocationService.InvocationListener, InvocationService.ResultListener| Modifier and Type | Method and Description |
|---|---|
void |
generateReport(String type,
InvocationService.ResultListener listener)
Generates a server status report for this peer and returns it to the supplied listener.
|
void |
invokeAction(byte[] serializedAction)
Requests that the specified action be invoked on this server.
|
void |
invokeRequest(byte[] serializedAction,
InvocationService.ResultListener listener)
Requests that the specified request be invoked on this server and wants a confirmation
when it's complete.
|
void |
ratifyLockAction(NodeObject.Lock lock,
boolean acquire)
Informs the node that the sending peer ratifies its acquisition or release of the specified
lock.
|
void ratifyLockAction(NodeObject.Lock lock, boolean acquire)
void invokeAction(byte[] serializedAction)
void invokeRequest(byte[] serializedAction,
InvocationService.ResultListener listener)
void generateReport(String type, InvocationService.ResultListener listener)
type - the type of report to generate. See ReportManager for more information.Copyright © 2015. All rights reserved.