Show / Hide Table of Contents

Interface IInvocationService

The IInvocationService is an IService for delivering executable objects to a remote cluster member for invocation.

Inherited Members
IService.Info
IService.UserContext
IService.Serializer
IService.MemberJoined
IService.MemberLeaving
IService.MemberLeft
IService.ServiceStarting
IService.ServiceStarted
IService.ServiceStopping
IService.ServiceStopped
IControllable.Configure(IXmlElement)
IControllable.Start()
IControllable.IsRunning
IControllable.Shutdown()
IControllable.Stop()
Namespace: Tangosol.Net
Assembly: Coherence.dll
Syntax
public interface IInvocationService : IService, IService, IControllable
Remarks

The executable objects must implement the IInvocable interface. Using this interface, application code can execute an IInvocable object within the context of a remote cluster.

Methods

Query(IInvocable, ICollection)

Synchronously invoke the specified task on the cluster member to which the client is connected.

Declaration
IDictionary Query(IInvocable task, ICollection col)
Parameters
Type Name Description
IInvocable task

The IInvocable object to send to the cluster member in order to be invoked on that member.

ICollection col

Parameter reserved for future use. Must be null.

Returns
Type Description
IDictionary

An IDictionary of the result of the invocation, keyed by the "local" IMember object.

Remarks

This method will not return until the cluster member has completed its processing, failed in its processing, or died trying.

In this article
Back to top Copyright © 2000, 2024, Oracle and/or its affiliates.