C# Класс Hazelcast.Client.Spi.ClientInvocationService

Наследование: IClientInvocationService, IConnectionListener, IConnectionHeartbeatListener
Показать файл Открыть проект Примеры использования класса

Private Properties

Свойство Тип Описание
CleanupEventHandlers void
CleanupInvocations void
EnsureOwnerConnectionAvailable void
GetConnection Hazelcast.Client.Connection.ClientConnection
GetNewInvocationAddress Hazelcast.IO.Address
GetRandomAddress Hazelcast.IO.Address
GetRegistrationIdFromResponse string
HandleEventMessage void
HandleInvocationException void
HandleResponseMessage void
InvokeInternal void
NextCorrelationId long
ReregisterListener IFuture
ShouldRetryInvocation bool
TryRegisterInvocation bool
TrySend bool
UnregisterInvocation void
UpdateInvocation void
ValidateInvocation void

Открытые методы

Метод Описание
CleanUpConnectionResources ( ClientConnection connection ) : void
ConnectionAdded ( ClientConnection connection ) : void
ConnectionRemoved ( ClientConnection connection ) : void
HandleClientMessage ( IClientMessage message ) : void
InvokeListenerOnConnection ( IClientMessage request, DistributedEventHandler handler, DecodeStartListenerResponse responseDecoder, ClientConnection connection ) : IFuture
InvokeListenerOnKeyOwner ( IClientMessage request, object key, DistributedEventHandler handler, DecodeStartListenerResponse responseDecoder ) : IFuture
InvokeListenerOnPartition ( IClientMessage request, int partitionId, DistributedEventHandler handler, DecodeStartListenerResponse responseDecoder ) : IFuture
InvokeListenerOnRandomTarget ( IClientMessage request, DistributedEventHandler handler, DecodeStartListenerResponse responseDecoder ) : IFuture
InvokeListenerOnTarget ( IClientMessage request, Address target, DistributedEventHandler handler, DecodeStartListenerResponse responseDecoder ) : IFuture
InvokeOnConnection ( IClientMessage request, ClientConnection connection, bool bypassHeartbeat = false ) : IFuture
InvokeOnKeyOwner ( IClientMessage request, object key ) : IFuture
InvokeOnMember ( IClientMessage request, IMember member ) : IFuture
InvokeOnPartition ( IClientMessage request, int partitionId ) : IFuture
InvokeOnRandomTarget ( IClientMessage request ) : IFuture
InvokeOnTarget ( IClientMessage request, Address target ) : IFuture
RemoveEventHandler ( long correlationId ) : bool
Shutdown ( ) : void

Защищенные методы

Метод Описание
ClientInvocationService ( HazelcastClient client ) : System
Invoke ( ClientInvocation invocation, Address address = null ) : IFuture

Приватные методы

Метод Описание
CleanupEventHandlers ( ClientConnection connection ) : void
CleanupInvocations ( ClientConnection connection ) : void
EnsureOwnerConnectionAvailable ( ) : void
GetConnection ( Address address ) : ClientConnection
GetNewInvocationAddress ( ClientInvocation invocation ) : Address
GetRandomAddress ( ) : Address
GetRegistrationIdFromResponse ( Hazelcast.Client.Spi.ClientListenerInvocation invocation ) : string
HandleEventMessage ( IClientMessage eventMessage ) : void
HandleInvocationException ( ClientInvocation invocation, Exception exception ) : void
HandleResponseMessage ( IClientMessage response ) : void
InvokeInternal ( ClientInvocation invocation, Address address = null, ClientConnection connection = null, bool bypassHeartbeat = false ) : void
NextCorrelationId ( ) : long
ReregisterListener ( ClientListenerInvocation invocation ) : IFuture
ShouldRetryInvocation ( ClientInvocation invocation, Exception exception ) : bool
TryRegisterInvocation ( long correlationId, ClientInvocation request ) : bool
TrySend ( ClientInvocation clientInvocation, ClientConnection connection ) : bool
UnregisterInvocation ( long correlationId ) : void
UpdateInvocation ( ClientInvocation clientInvocation, ClientConnection connection ) : void
ValidateInvocation ( ClientInvocation clientInvocation, ClientConnection connection, bool bypassHeartbeat ) : void

Описание методов

CleanUpConnectionResources() публичный Метод

public CleanUpConnectionResources ( ClientConnection connection ) : void
connection Hazelcast.Client.Connection.ClientConnection
Результат void

ClientInvocationService() защищенный Метод

protected ClientInvocationService ( HazelcastClient client ) : System
client HazelcastClient
Результат System

ConnectionAdded() публичный Метод

public ConnectionAdded ( ClientConnection connection ) : void
connection Hazelcast.Client.Connection.ClientConnection
Результат void

ConnectionRemoved() публичный Метод

public ConnectionRemoved ( ClientConnection connection ) : void
connection Hazelcast.Client.Connection.ClientConnection
Результат void

HandleClientMessage() публичный Метод

public HandleClientMessage ( IClientMessage message ) : void
message IClientMessage
Результат void

Invoke() защищенный Метод

protected Invoke ( ClientInvocation invocation, Address address = null ) : IFuture
invocation ClientInvocation
address Hazelcast.IO.Address
Результат IFuture

InvokeListenerOnConnection() публичный Метод

public InvokeListenerOnConnection ( IClientMessage request, DistributedEventHandler handler, DecodeStartListenerResponse responseDecoder, ClientConnection connection ) : IFuture
request IClientMessage
handler DistributedEventHandler
responseDecoder DecodeStartListenerResponse
connection Hazelcast.Client.Connection.ClientConnection
Результат IFuture

InvokeListenerOnKeyOwner() публичный абстрактный Метод

public abstract InvokeListenerOnKeyOwner ( IClientMessage request, object key, DistributedEventHandler handler, DecodeStartListenerResponse responseDecoder ) : IFuture
request IClientMessage
key object
handler DistributedEventHandler
responseDecoder DecodeStartListenerResponse
Результат IFuture

InvokeListenerOnPartition() публичный абстрактный Метод

public abstract InvokeListenerOnPartition ( IClientMessage request, int partitionId, DistributedEventHandler handler, DecodeStartListenerResponse responseDecoder ) : IFuture
request IClientMessage
partitionId int
handler DistributedEventHandler
responseDecoder DecodeStartListenerResponse
Результат IFuture

InvokeListenerOnRandomTarget() публичный абстрактный Метод

public abstract InvokeListenerOnRandomTarget ( IClientMessage request, DistributedEventHandler handler, DecodeStartListenerResponse responseDecoder ) : IFuture
request IClientMessage
handler DistributedEventHandler
responseDecoder DecodeStartListenerResponse
Результат IFuture

InvokeListenerOnTarget() публичный абстрактный Метод

public abstract InvokeListenerOnTarget ( IClientMessage request, Address target, DistributedEventHandler handler, DecodeStartListenerResponse responseDecoder ) : IFuture
request IClientMessage
target Hazelcast.IO.Address
handler DistributedEventHandler
responseDecoder DecodeStartListenerResponse
Результат IFuture

InvokeOnConnection() публичный Метод

public InvokeOnConnection ( IClientMessage request, ClientConnection connection, bool bypassHeartbeat = false ) : IFuture
request IClientMessage
connection Hazelcast.Client.Connection.ClientConnection
bypassHeartbeat bool
Результат IFuture

InvokeOnKeyOwner() публичный абстрактный Метод

public abstract InvokeOnKeyOwner ( IClientMessage request, object key ) : IFuture
request IClientMessage
key object
Результат IFuture

InvokeOnMember() публичный абстрактный Метод

public abstract InvokeOnMember ( IClientMessage request, IMember member ) : IFuture
request IClientMessage
member IMember
Результат IFuture

InvokeOnPartition() публичный абстрактный Метод

public abstract InvokeOnPartition ( IClientMessage request, int partitionId ) : IFuture
request IClientMessage
partitionId int
Результат IFuture

InvokeOnRandomTarget() публичный абстрактный Метод

public abstract InvokeOnRandomTarget ( IClientMessage request ) : IFuture
request IClientMessage
Результат IFuture

InvokeOnTarget() публичный абстрактный Метод

public abstract InvokeOnTarget ( IClientMessage request, Address target ) : IFuture
request IClientMessage
target Address
Результат IFuture

RemoveEventHandler() публичный Метод

public RemoveEventHandler ( long correlationId ) : bool
correlationId long
Результат bool

Shutdown() публичный Метод

public Shutdown ( ) : void
Результат void