Software AG Products 10.7 | Administering Integration Server | Configuring Ehcache on Integration Server | Making a Cache Searchable | Defining Attributes
 
Defining Attributes
 
Extracting Attributes by Class
When making a cache searchable, you can define the attributes to use in searches. Attributes are extracted from keys or values during searches. You can extract attributes from keys or values using the following methods:
*Extract by Expression. Specify expressions based on which attributes are extracted from keys or values. For example,
key.name, value.age
*Extract by Class. Provide the extractor class and optionally, the properties for the extractor class.
For general guidelines for creating an extractor class, see Extracting Attributes by Class. For a sample extractor, see Example Extractor.
Keep the following points in mind when making a cache searchable:
*You cannot configure a system cache to be searchable.
*You cannot make a cache that already contains data searchable.
For more information about making a cache searchable, see Creating a Cache.