com.continuent.tungsten.replicator.storage.parallel
Class PartitionerResponse

java.lang.Object
  extended by com.continuent.tungsten.replicator.storage.parallel.PartitionerResponse

public class PartitionerResponse
extends java.lang.Object

Contains partitioning response data.

Version:
1.0
Author:
Robert Hodges

Constructor Summary
PartitionerResponse(int partition, boolean critical)
          Generates a new response.
 
Method Summary
 int getPartition()
           
 boolean isCritical()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PartitionerResponse

public PartitionerResponse(int partition,
                           boolean critical)
Generates a new response.

Parameters:
partition - Partition to which current event should be assigned
critical - If true, this event requires a critical section
Method Detail

getPartition

public int getPartition()

isCritical

public boolean isCritical()