public interface CacheInvalidationIDGenerator
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ACTION_ADD
the action of adding a resource object.
|
static java.lang.String |
ACTION_ANY
any action against a resource object.
|
static java.lang.String |
ACTION_DELETE
the action of deleting a resource object.
|
static java.lang.String |
ACTION_UPDATE
the action of updating a resource object.
|
static java.lang.String |
COPYRIGHT
The internal copyright field.
|
Modifier and Type | Method and Description |
---|---|
java.util.List |
generateInvalidationIDs(java.lang.String resource,
java.lang.String[] resourceKeys,
java.util.HashMap oneRecord,
java.lang.String action,
java.sql.Connection connection,
java.lang.String schema)
generates WebSphere Dynamic Cache invalidation IDs.
|
boolean |
isInvalidationTrigger(java.lang.String resource,
java.lang.String action)
returns whether performing the action against the resource would trigger cache invalidation.
|
static final java.lang.String COPYRIGHT
static final java.lang.String ACTION_ADD
static final java.lang.String ACTION_UPDATE
static final java.lang.String ACTION_DELETE
static final java.lang.String ACTION_ANY
boolean isInvalidationTrigger(java.lang.String resource, java.lang.String action)
resource
- the resource.action
- the action performed against the resource object.java.util.List generateInvalidationIDs(java.lang.String resource, java.lang.String[] resourceKeys, java.util.HashMap oneRecord, java.lang.String action, java.sql.Connection connection, java.lang.String schema)
resource
- the resource.resourceKeys
- the resource keys.oneRecord
- a HashMap object containing the values in the resource object.action
- the action performed against the resource object.connection
- the database connection.schema
- the database schema name.