public class SpatialCache
extends java.lang.Object
Constructor and Description |
---|
SpatialCache() |
Modifier and Type | Method and Description |
---|---|
int |
getMaxFeatures() |
void |
insert(Envelope bounds,
Geometry geom) |
void |
insert(Envelope itemEnv,
java.lang.Object item) |
boolean |
isContextEnabled() |
boolean |
isEnabled() |
boolean |
isEnabled(java.lang.String contextId) |
boolean |
isOverflown() |
java.util.List |
query(Envelope searchEnv) |
void |
query(Envelope searchEnv,
Visitor visitor) |
void |
refresh(java.lang.String name,
FeatureStore store,
Envelope envelope,
IProjection projection) |
void |
remove(Envelope bounds,
Geometry geom) |
boolean |
remove(Envelope itemEnv,
java.lang.Object item) |
void |
removeAll() |
void |
setEnabled(boolean enabled) |
void |
setEnabled(java.lang.String contextId,
boolean enabled) |
void |
setMaxFeatures(int maxFeatures) |
int |
size() |
public int getMaxFeatures()
public void setMaxFeatures(int maxFeatures)
public java.util.List query(Envelope searchEnv)
public void insert(Envelope itemEnv, java.lang.Object item)
public boolean remove(Envelope itemEnv, java.lang.Object item)
public int size()
public void removeAll()
public boolean isEnabled()
public boolean isEnabled(java.lang.String contextId)
public void setEnabled(boolean enabled)
public void setEnabled(java.lang.String contextId, boolean enabled)
public boolean isOverflown()
public boolean isContextEnabled()
public void refresh(java.lang.String name, FeatureStore store, Envelope envelope, IProjection projection)