BatchConstraint (Mule ESB 2.2.1 API)
Keywords: org.mule.transaction.constraints.BatchConstraint class

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.mule.transaction.constraints
Class BatchConstraint

    java.lang.Object
      org.mule.transaction.constraints.ConstraintFilter
          org.mule.transaction.constraints.BatchConstraint

All Implemented Interfaces:
  Cloneable

    public class BatchConstraint

extends ConstraintFilter

`BatchConstraint` is a filter that counts on every execution and returns true when the batch size value equals the execution count.

Constructor Summary
`BatchConstraint()`

Method Summary
`boolean` | `accept(MuleEvent event)`
`Object` | `clone()`
`int` | `getBatchSize()`
`void` | `setBatchSize(int batchSize)`

Methods inherited from class java.lang.Object
`equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### BatchConstraint

    public BatchConstraint()

Method Detail

### accept

    public boolean accept(MuleEvent event)

  Overrides:
    `accept` in class `ConstraintFilter`

### getBatchSize

    public int getBatchSize()

### setBatchSize

    public void setBatchSize(int batchSize)

### clone

    public Object clone()
                 throws CloneNotSupportedException

  Overrides:
    `clone` in class `ConstraintFilter`
  Throws:
    `CloneNotSupportedException`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2003-2009 MuleSource, Inc.. All Rights Reserved.