|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ICacheElement
| Field Summary | |
|---|---|
static java.lang.String |
BYTE_ARRAYS
|
static java.lang.String |
CACHE_ON_DISK
|
static java.lang.String |
DEBUG_MESSAGES
|
static java.lang.String |
FOLDER_NAME
|
static java.lang.String |
IMAGE_FORMAT
|
static java.lang.String |
MAX_CACHE_SIZE
|
static java.lang.String |
MAX_EXPIRATION_PERIOD
|
| Method Summary | |
|---|---|
void |
clearCache()
|
void |
deleteData(java.lang.Object deletedKeys)
Delete the data identified by deletedKeys from the cache |
void |
deleteDataFromFilters(java.lang.Object appliedFilters)
Delete the data related to the given filters |
com.vividsolutions.jts.geom.Geometry |
getIntersectedArea(com.vividsolutions.jts.geom.Envelope interestBoundingBox)
Gets the area resulting from the intersection of the total cache data area and the interest area. |
java.lang.Object |
insertData(java.lang.Object insertedValues,
java.lang.Object appliedFilters)
Insert new data to the actual cache element |
boolean |
isAreaInCache(java.lang.Object appliedFilters)
Check if the interest area has all its data stored in cache |
java.lang.Object |
queryData(java.lang.Object appliedFilters)
Request data that fits with the applied filters |
void |
setConfigurationParameters(java.lang.Object parameters)
Set the initial configuration parameters. |
void |
setDataKeys(java.lang.String[] keys)
Set the name of the actual data key columns |
void |
setId(java.lang.Object cacheId)
|
void |
updateData(java.lang.Object updatedKeys,
java.lang.Object newValues)
Update the data identified by updatedKeys with the values newValues |
| Field Detail |
|---|
static final java.lang.String CACHE_ON_DISK
static final java.lang.String MAX_CACHE_SIZE
static final java.lang.String MAX_EXPIRATION_PERIOD
static final java.lang.String IMAGE_FORMAT
static final java.lang.String FOLDER_NAME
static final java.lang.String DEBUG_MESSAGES
static final java.lang.String BYTE_ARRAYS
| Method Detail |
|---|
void setId(java.lang.Object cacheId)
boolean isAreaInCache(java.lang.Object appliedFilters)
appliedFilters - Request filters
com.vividsolutions.jts.geom.Geometry getIntersectedArea(com.vividsolutions.jts.geom.Envelope interestBoundingBox)
interestBoundingBox - Interest area bounding box
java.lang.Object insertData(java.lang.Object insertedValues,
java.lang.Object appliedFilters)
throws java.lang.Exception
insertedValues - Values to save in cacheappliedFilters - Filters applied in the request of the data to insert
java.lang.Exception
void updateData(java.lang.Object updatedKeys,
java.lang.Object newValues)
throws java.lang.Exception
updatedKeys with the values newValues
updatedKeys - Indentifiers of the data to updatenewValues - Updated values for the given identifiers
java.lang.Exception
void deleteData(java.lang.Object deletedKeys)
throws java.lang.Exception
deletedKeys from the cache
deletedKeys - Indentifiers of the data to delete
java.lang.Exception
void deleteDataFromFilters(java.lang.Object appliedFilters)
throws java.lang.Exception
appliedFilters - Filters applied on deletion
java.lang.Exception
java.lang.Object queryData(java.lang.Object appliedFilters)
throws java.lang.Exception
appliedFilters - Filters applied on request
java.lang.Exceptionvoid setDataKeys(java.lang.String[] keys)
keys - String array of the key columns identifiersvoid setConfigurationParameters(java.lang.Object parameters)
parameters - Cache class configuration parametersvoid clearCache()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||