public void cache(AtlasEntityWithExtInfo entity) {
        if (entity != null && entity.getEntity() != null && entity.getEntity().getGuid() != null) {
            entityCacheV2.put(entity.getEntity().getGuid(), entity);
        }
    }
public void cache ( AtlasEntityWithExtInfo entity ) { if ( entity != null && entity . getEntity ( ) != null && entity . getEntity ( ) . getGuid ( ) != null ) { entityCacheV2 . put ( entity . getEntity ( ) . getGuid ( ) , entity ) ; } }
Adds the specified instance to the cache