| java.lang.Object org.geotools.data.AbstractDataStore org.geotools.caching.impl.InMemoryDataCache
InMemoryDataCache | public class InMemoryDataCache extends AbstractDataStore implements DataCache(Code) | | Implementation of DataCache that uses in-memory storage,
spatial query tracker and spatial index.
IMPORTANT : for the time being, this class provides cache facility only
when using getView(Query) method. Other methods simply delegate to source DataStore.
author: Christophe Rousson, SoC 2007, CRG-ULAVAL |
InMemoryDataCache | public InMemoryDataCache(DataStore ds)(Code) | | Creates a new DataCache on top of DataStore ds.
Parameters: ds - the DataStore to cache. |
clear | public void clear()(Code) | | |
getHits | public long getHits()(Code) | | |
Methods inherited from org.geotools.data.AbstractDataStore | protected FeatureWriter createFeatureWriter(String typeName, Transaction transaction) throws IOException(Code)(Java Doc) protected InProcessLockingManager createLockingManager()(Code)(Java Doc) protected Map createMetadata(String typeName)(Code)(Java Doc) public void createSchema(FeatureType featureType) throws IOException(Code)(Java Doc) public void dispose()(Code)(Java Doc) protected Envelope getBounds(Query query) throws IOException(Code)(Java Doc) protected int getCount(Query query) throws IOException(Code)(Java Doc) abstract protected FeatureReader getFeatureReader(String typeName) throws IOException(Code)(Java Doc) public FeatureReader getFeatureReader(Query query, Transaction transaction) throws IOException(Code)(Java Doc) protected FeatureReader getFeatureReader(String typeName, Query query) throws IOException(Code)(Java Doc) public FeatureSource getFeatureSource(String typeName) throws IOException(Code)(Java Doc) protected FeatureWriter getFeatureWriter(String typeName) throws IOException(Code)(Java Doc) public FeatureWriter getFeatureWriter(String typeName, Filter filter, Transaction transaction) throws IOException(Code)(Java Doc) public FeatureWriter getFeatureWriter(String typeName, Transaction transaction) throws IOException(Code)(Java Doc) public FeatureWriter getFeatureWriterAppend(String typeName, Transaction transaction) throws IOException(Code)(Java Doc) public LockingManager getLockingManager()(Code)(Java Doc) abstract public FeatureType getSchema(String typeName) throws IOException(Code)(Java Doc) protected Set getSupportedHints()(Code)(Java Doc) abstract public String[] getTypeNames() throws IOException(Code)(Java Doc) protected Filter getUnsupportedFilter(String typeName, Filter filter)(Code)(Java Doc) public FeatureSource getView(Query query) throws IOException, SchemaException(Code)(Java Doc) public void updateSchema(String typeName, FeatureType featureType)(Code)(Java Doc)
|
|
|