code: public void destroy(String dataStructureName, String sourceUuid) {
          invalidateAllKeys(dataStructureName, sourceUuid);
          metaDataGenerator.destroyMetaDataFor(dataStructureName);
      }
docs: Removes supplied data structures invalidation queues and flushes their content.
  This method is called when removing a Near Cache for example with
  {@link com.hazelcast.map.impl.MapRemoteService#destroyDistributedObject(String)}
  
  @param dataStructureName name of the data structure.
  @see com.hazelcast.map.impl.MapRemoteService#destroyDistributedObject(String)