@InterfaceAudience.Public
@InterfaceStability.Evolving
public interface ObjectRegistry
Modifier and Type | Method and Description |
---|---|
Object |
cacheForDAG(String key,
Object value)
Insert or update object into the registry with DAG life-cycle.
|
Object |
cacheForSession(String key,
Object value)
Insert or update object into the registry with Session life-cycle.
|
Object |
cacheForVertex(String key,
Object value)
Insert or update object into the registry with Vertex life-cycle.
|
boolean |
delete(String key)
Delete the object associated with the provided key
|
Object |
get(String key)
Return the object associated with the provided key
|
Object cacheForVertex(String key, Object value)
key
- Key to identify the Objectvalue
- Object to be insertedObject cacheForDAG(String key, Object value)
key
- Key to identify the Objectvalue
- Object to be insertedObject cacheForSession(String key, Object value)
key
- Key to identify the Objectvalue
- Object to be insertedObject get(String key)
key
- Key to find objectboolean delete(String key)
key
- Key to find objectCopyright © 2024 Apache Software Foundation. All rights reserved.