Package akka.persistence.testkit
Class ProcessingPolicy.DefaultPolicies.PassAll$
- java.lang.Object
-
- akka.persistence.testkit.ProcessingPolicy.DefaultPolicies.PassAll$
-
- All Implemented Interfaces:
ProcessingPolicy<U>,java.io.Serializable,scala.Equals,scala.Product
- Enclosing interface:
- ProcessingPolicy.DefaultPolicies<U>
public static class ProcessingPolicy.DefaultPolicies.PassAll$ extends java.lang.Object implements ProcessingPolicy<U>, scala.Product, java.io.Serializable
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface akka.persistence.testkit.ProcessingPolicy
ProcessingPolicy.DefaultPolicies<U>
-
-
Field Summary
Fields Modifier and Type Field Description static ProcessingPolicy.DefaultPolicies.PassAll$MODULE$Static reference to the singleton instance of this Scala object.
-
Constructor Summary
Constructors Constructor Description PassAll$()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleancanEqual(java.lang.Object x$1)inthashCode()intproductArity()java.lang.ObjectproductElement(int x$1)scala.collection.Iterator<java.lang.Object>productIterator()java.lang.StringproductPrefix()java.lang.StringtoString()ProcessingResulttryProcess(java.lang.String persistenceId, U processingUnit)Emulates behavior of the storage.
-
-
-
Field Detail
-
MODULE$
public static final ProcessingPolicy.DefaultPolicies.PassAll$ MODULE$
Static reference to the singleton instance of this Scala object.
-
-
Method Detail
-
tryProcess
public ProcessingResult tryProcess(java.lang.String persistenceId, U processingUnit)
Description copied from interface:ProcessingPolicyEmulates behavior of the storage. The function is invoked when any of the plugin's operations is executed. If you need this operation to succeed returnProcessingSuccess, otherwise you should return some of theProcessingFailure's.- Specified by:
tryProcessin interfaceProcessingPolicy<U>- Parameters:
persistenceId- persistenceId or other id of the processing operationprocessingUnit- details about current operation to be executed- Returns:
- needed result of processing the operation
-
productPrefix
public java.lang.String productPrefix()
- Specified by:
productPrefixin interfacescala.Product
-
productArity
public int productArity()
- Specified by:
productArityin interfacescala.Product
-
productElement
public java.lang.Object productElement(int x$1)
- Specified by:
productElementin interfacescala.Product
-
productIterator
public scala.collection.Iterator<java.lang.Object> productIterator()
- Specified by:
productIteratorin interfacescala.Product
-
canEqual
public boolean canEqual(java.lang.Object x$1)
- Specified by:
canEqualin interfacescala.Equals
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-