private void cacheMapping(final String name, final byte[] id) {
    addIdToCache(name, id);
    addNameToCache(id, name);
  }
private void cacheMapping ( final String name , final byte [ ] id ) { addIdToCache ( name , id ) ; addNameToCache ( id , name ) ; }
Adds the bidirectional mapping in the cache.