public class VertexCache extends CommonCache
Modifier and Type | Method and Description |
---|---|
void |
clearCache()
This method empties the cache
|
void |
dumpStatistics(PrintStream ps)
Print out the statistics collected.
|
OracleVertex |
get(Long lID)
Fetch one vertex from the cache using its ID.
|
static VertexCache |
getInstance(OraclePropertyGraph opg)
This method returns an instance of VertexCache.
|
void |
put(Long lID, OracleVertex v)
Add one vertex to the cache.
|
void |
put(OracleVertex v)
Add one vertex to the cache
|
OracleVertex |
remove(Long lID)
Remove one Vertex from the cache
|
OracleVertex |
remove(OracleVertex v)
Remove one Vertex from the cache
|
public void clearCache()
public void dumpStatistics(PrintStream ps)
public OracleVertex get(Long lID)
public static VertexCache getInstance(OraclePropertyGraph opg)
public void put(Long lID, OracleVertex v)
public void put(OracleVertex v)
public OracleVertex remove(Long lID)
public OracleVertex remove(OracleVertex v)
Copyright © 2015 Oracle and/or its afflilates. All Rights Reserved.