public void addAlias ( String cacheName , Object id , Object [ ] aliasArray ) { if ( id != null && aliasArray != null ) { DCache cache = ServerCache . getCache ( cacheName ) ; if ( cache != null ) { try { cache . addAlias ( id , aliasArray , false , false ) ; } catch ( IllegalArgumentException e ) { if ( tc . isDebugEnabled ( ) ) { Tr . debug ( tc , "Adding alias for cache id " + id + " failure: " + e . getMessage ( ) ) ; } } } } }
This implements the method in the CacheUnit interface . This is called to add alias ids for cache id .