Package org.apache.pekko.japi
Interface Creator<T>
-
- All Superinterfaces:
java.io.Serializable
public interface Creator<T> extends java.io.SerializableDeprecated.Will be removed in favor of pekko.japi.function.Creator in Pekko 2.0.0. Since 1.2.0.A constructor/factory, takes no parameters but creates a new value of type T every call.This class is kept for compatibility, but for future API's please prefer
pekko.japi.function.Creator.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description Tcreate()Deprecated.This method must return a different instance upon every call.
-
-
-
Method Detail
-
create
T create() throws java.lang.Exception
Deprecated.This method must return a different instance upon every call.- Throws:
java.lang.Exception
-
-