|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Storage
Interface for cache storage options.
Field Summary | |
---|---|
static java.lang.String |
STORAGE_TYPE_PROPERTY
|
Method Summary | |
---|---|
void |
addFeatureType(org.opengis.feature.type.FeatureType ft)
Adds a feature type to the store. |
void |
clear()
Clears all information from the store. |
void |
clearFeatureTypes()
Removes all feature types associated with the store. |
void |
dispose()
Disposes of the store. |
NodeIdentifier |
findUniqueInstance(NodeIdentifier id)
|
void |
flush()
Flushes the store writing everything to the store. |
Node |
get(NodeIdentifier id)
Reads a node from the store given an node identifier |
ReferencedEnvelope |
getBounds()
Gets the bounds of the cached data. |
java.util.Collection<org.opengis.feature.type.FeatureType> |
getFeatureTypes()
|
java.util.Properties |
getPropertySet()
Get properties about the given storage. |
void |
put(Node n)
Adds a given node to the store. |
void |
remove(NodeIdentifier id)
Removes a node from the store given a node identifier |
void |
setBounds(ReferencedEnvelope bounds)
Sets the bounds of the data in the cache. |
Field Detail |
---|
static final java.lang.String STORAGE_TYPE_PROPERTY
Method Detail |
---|
void put(Node n)
n
- void remove(NodeIdentifier id)
id
- identifier of the node to removeNode get(NodeIdentifier id)
id
- identifier of the node to read
void clear()
java.util.Properties getPropertySet()
void flush()
Currently this is really only used by the BufferedDiskStorage to write everything in the buffer to the store.
void dispose()
NodeIdentifier findUniqueInstance(NodeIdentifier id)
java.util.Collection<org.opengis.feature.type.FeatureType> getFeatureTypes()
void addFeatureType(org.opengis.feature.type.FeatureType ft)
ft
- feature type to addvoid clearFeatureTypes()
void setBounds(ReferencedEnvelope bounds)
bounds
- ReferencedEnvelope getBounds()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |