public class InvalidationIDPattern
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String | COPYRIGHT
The internal copyright field.
|
static java.lang.String | DEFAULT_COMPONENT_VALUE_MARK
the place holder for a component value.
|
Constructor and Description |
---|
InvalidationIDPattern()
the default constructor.
|
InvalidationIDPattern(java.lang.String pattern, InvalidationIDComponent[] components)
the constructor takes a string pattern and a component array as parameters.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String | generateInvalidationID(java.lang.String resource, java.util.HashMap oneRecord, java.lang.String action, java.sql.Connection connection, java.lang.String schema)
generates a WebSphere Dynamic Cache invalidation ID.
|
InvalidationIDComponent[] | getComponents()
returns the components used in the pattern.
|
java.lang.String | getComponentValueMark()
returns the place holder of a component value.
|
java.lang.String | getPattern()
returns the pattern text string.
|
void | setComponents(InvalidationIDComponent[] components)
sets the components used in the pattern.
|
void | setComponentValueMark(java.lang.String mark)
sets the place holder of a component value.
|
void | setPattern(java.lang.String pattern)
sets the pattern text string.
|
java.lang.String | toString()
returns a string representation of the object.
|
public static final java.lang.String COPYRIGHT
public static final java.lang.String DEFAULT_COMPONENT_VALUE_MARK
public InvalidationIDPattern()
public InvalidationIDPattern(java.lang.String pattern, InvalidationIDComponent[] components)
public InvalidationIDComponent[] getComponents()
public java.lang.String getPattern()
public void setComponents(InvalidationIDComponent[] components)
public void setPattern(java.lang.String pattern)
public java.lang.String getComponentValueMark()
public void setComponentValueMark(java.lang.String mark)
public java.lang.String generateInvalidationID(java.lang.String resource, java.util.HashMap oneRecord, java.lang.String action, java.sql.Connection connection, java.lang.String schema)
public java.lang.String toString()