T - public interface Creatable<T>
This interface exists to cover basic LifeCycle semantics so that Objects can be created dynamically and managed at a basic level (destroy(env)).
| Modifier and Type | Method and Description |
|---|---|
long |
created()
Return the timestamp (Unix long) when this object was created.
|
void |
destroy(Env env)
Allow LifeCycle aware process to signal this element as destroyed.
|
long created()
This can be used to see if the object is out of date in certain circumstances, or perhaps has already been notified in others.
void destroy(Env env)
env - Copyright © 2017. All rights reserved.