Interface VoteResponseProcessor

All Known Implementing Classes:
DistributedLockManager, VotingAdapter

public interface VoteResponseProcessor
VoteResultProcessor Applications that use the VotingAdapter and/or TwoPhaseVotingAdapter can pass an implementation of this down the vote calls, to intercept processing of the VoteResults returned by other nodes. See the source of DistributedLockManager for an example implementation.
Version:
$Id: VoteResponseProcessor.java,v 1.2 2005/07/17 11:36:40 chrislott Exp $
Author:
Robert Schaffar-Taurok (robert@fusion.at)
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    processResponses(RspList responses, int consensusType, Object decree)
    Processes the responses returned by the other nodes.
  • Method Details

    • processResponses

      boolean processResponses(RspList responses, int consensusType, Object decree) throws ChannelException
      Processes the responses returned by the other nodes.
      Parameters:
      responses - The responses
      consensusType - The consensusType of the vote
      decree - The vote decree
      Returns:
      boolean
      Throws:
      ChannelException