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