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.util.counters.impl
Class Operator

    java.lang.Object
      org.mule.util.counters.impl.AbstractCounter
          org.mule.util.counters.impl.AggregateCounter
              org.mule.util.counters.impl.Operator

All Implemented Interfaces:
  Counter

    public class Operator

extends AggregateCounter

Constructor Summary
`Operator(String name, AbstractCounter base, AbstractCounter base2, CounterFactory.Type type)`

Method Summary
`void` | `doCompute()`
`double` | `nextValue()` Compute and return the value of the counter.

Methods inherited from class org.mule.util.counters.impl.AggregateCounter
`compute, decrement, getBase, increment, incrementBy, setRawValue`

Methods inherited from class org.mule.util.counters.impl.AbstractCounter
`addAggregate, getName, getType, propagate`

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

Constructor Detail

### Operator

    public Operator(String name,
                    AbstractCounter base,
                    AbstractCounter base2,
                    CounterFactory.Type type)

Method Detail

### nextValue

    public double nextValue()

  Description copied from interface: `Counter`
  Compute and return the value of the counter.

  Specified by:
    `nextValue` in interface `Counter`
  Specified by:
    `nextValue` in class `AggregateCounter`
  Returns:
    the value of the counter

### doCompute

    public void doCompute()

  Specified by:
    `doCompute` in class `AggregateCounter`

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-2010 MuleSoft, Inc.. All Rights Reserved.