Class DistributedProcess<I extends Serializable,​R extends Serializable>

  • Type Parameters:
    I - Request type.
    R - Result type.

    public class DistributedProcess<I extends Serializable,​R extends Serializable>
    extends Object
    Distributed process is a cluster-wide process that accumulates single nodes results to finish itself.

    The process consists of the following phases:

    1. The initial request starts the process. The InitMessage sent via discovery.
    2. Each server node processes an initial request and sends the single node result to the coordinator. The SingleNodeMessage sent via communication.
    3. The coordinator accumulate all single nodes results and finish process. The FullMessage sent via discovery.

    Several processes of one type can be started at the same time.

    See Also:
    InitMessage, FullMessage