Package akka.contrib.pattern
Interface Aggregator
-
public interface Aggregator
Deprecated.Feel free to copy. Since 2.5.0.Adds the partial function to the receive set, to be removed on first match. param: fn The receive function.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description scala.PartialFunction<java.lang.Object,scala.runtime.BoxedUnit>
expect(scala.PartialFunction<java.lang.Object,scala.runtime.BoxedUnit> fn)
Deprecated.Adds the partial function to the receive set and keeping it in the receive set till removed.scala.PartialFunction<java.lang.Object,scala.runtime.BoxedUnit>
expectOnce(scala.PartialFunction<java.lang.Object,scala.runtime.BoxedUnit> fn)
Deprecated.Adds the partial function to the receive set, to be removed on first match.boolean
handleMessage(java.lang.Object msg)
Deprecated.Handles messages and matches against the expect list.void
processing_$eq(boolean x$1)
Deprecated.scala.PartialFunction<java.lang.Object,scala.runtime.BoxedUnit>
receive()
Deprecated.Receive function for handling the aggregations.boolean
unexpect(scala.PartialFunction<java.lang.Object,scala.runtime.BoxedUnit> fn)
Deprecated.Removes the partial function from the receive set.
-
-
-
Method Detail
-
expect
scala.PartialFunction<java.lang.Object,scala.runtime.BoxedUnit> expect(scala.PartialFunction<java.lang.Object,scala.runtime.BoxedUnit> fn)
Deprecated.Adds the partial function to the receive set and keeping it in the receive set till removed.- Parameters:
fn
- The receive function.- Returns:
- The same receive function.
-
expectOnce
scala.PartialFunction<java.lang.Object,scala.runtime.BoxedUnit> expectOnce(scala.PartialFunction<java.lang.Object,scala.runtime.BoxedUnit> fn)
Deprecated.Adds the partial function to the receive set, to be removed on first match.- Parameters:
fn
- The receive function.- Returns:
- The same receive function.
-
handleMessage
boolean handleMessage(java.lang.Object msg)
Deprecated.Handles messages and matches against the expect list.- Parameters:
msg
- The message to be handled.- Returns:
- true if message is successfully processed, false otherwise.
-
processing_$eq
void processing_$eq(boolean x$1)
Deprecated.
-
receive
scala.PartialFunction<java.lang.Object,scala.runtime.BoxedUnit> receive()
Deprecated.Receive function for handling the aggregations.- Returns:
- (undocumented)
-
unexpect
boolean unexpect(scala.PartialFunction<java.lang.Object,scala.runtime.BoxedUnit> fn)
Deprecated.Removes the partial function from the receive set.- Parameters:
fn
- The receive function.- Returns:
- True if the partial function is removed, false if not found.
-
-