public class VertexCache
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
void |
clearCache()
This method empties the cache
|
void |
dumpStatistics(java.io.PrintStream ps) |
OracleVertexBase |
get(java.lang.Long lID)
Fetch one vertex from the cache using its ID.
|
static VertexCache |
getInstance(OraclePropertyGraphBase opg)
This method returns an instance of VertexCache.
|
void |
put(java.lang.Long lID, OracleVertexBase v)
Add one vertex to the cache.
|
void |
put(OracleVertexBase v)
Add one vertex to the cache
|
OracleVertexBase |
remove(java.lang.Long lID)
Remove one Vertex from the cache
|
OracleVertexBase |
remove(OracleVertexBase v)
Remove one Vertex from the cache
|
public void clearCache()
public void dumpStatistics(java.io.PrintStream ps)
public OracleVertexBase get(java.lang.Long lID)
public static VertexCache getInstance(OraclePropertyGraphBase opg)
public void put(java.lang.Long lID, OracleVertexBase v)
public void put(OracleVertexBase v)
public OracleVertexBase remove(java.lang.Long lID)
public OracleVertexBase remove(OracleVertexBase v)