public interface CommandIdGenerator
One IdGenerator instance will exist for each cacheable command object identified in WebSphere. When implementing this interface, be aware that multiple threads may be using the same IdGenerator concurrently.
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getId(CacheableCommand command,
java.util.ArrayList groupIds)
This gets the cache id for the command.
|
java.lang.String getId(CacheableCommand command, java.util.ArrayList groupIds)
command
- The command used to generate a cache idgroupIds
- Add any additional groupIds to the command
using the following ArrayList