com.hazelcast.client.spi
Interface ClientInvocationService

All Known Implementing Classes:
ClientInvocationServiceImpl

public interface ClientInvocationService

Author:
mdogan 5/16/13

Method Summary
<T> ICompletableFuture<T>
invokeOnKeyOwner(ClientRequest request, Object key)
           
<T> ICompletableFuture<T>
invokeOnKeyOwner(ClientRequest request, Object key, EventHandler handler)
           
<T> ICompletableFuture<T>
invokeOnPartitionOwner(ClientRequest request, int partitionId)
           
<T> ICompletableFuture<T>
invokeOnRandomTarget(ClientRequest request)
           
<T> ICompletableFuture<T>
invokeOnRandomTarget(ClientRequest request, EventHandler handler)
           
<T> ICompletableFuture<T>
invokeOnTarget(ClientRequest request, Address target)
           
<T> ICompletableFuture<T>
invokeOnTarget(ClientRequest request, Address target, EventHandler handler)
           
 

Method Detail

invokeOnRandomTarget

<T> ICompletableFuture<T> invokeOnRandomTarget(ClientRequest request)
                                           throws Exception
Throws:
Exception

invokeOnTarget

<T> ICompletableFuture<T> invokeOnTarget(ClientRequest request,
                                         Address target)
                                     throws Exception
Throws:
Exception

invokeOnKeyOwner

<T> ICompletableFuture<T> invokeOnKeyOwner(ClientRequest request,
                                           Object key)
                                       throws Exception
Throws:
Exception

invokeOnPartitionOwner

<T> ICompletableFuture<T> invokeOnPartitionOwner(ClientRequest request,
                                                 int partitionId)
                                             throws Exception
Throws:
Exception

invokeOnRandomTarget

<T> ICompletableFuture<T> invokeOnRandomTarget(ClientRequest request,
                                               EventHandler handler)
                                           throws Exception
Throws:
Exception

invokeOnTarget

<T> ICompletableFuture<T> invokeOnTarget(ClientRequest request,
                                         Address target,
                                         EventHandler handler)
                                     throws Exception
Throws:
Exception

invokeOnKeyOwner

<T> ICompletableFuture<T> invokeOnKeyOwner(ClientRequest request,
                                           Object key,
                                           EventHandler handler)
                                       throws Exception
Throws:
Exception


Copyright © 2015 Hazelcast, Inc.. All Rights Reserved.