package net.openhft.chronicle.map; import net.openhft.chronicle.hash.ChronicleHash; import java.io.IOException; import java.util.concurrent.TimeoutException; /** * @author Rob Austin. */ interface FindByName { /** * @param name the name of the map or set * @param the type returned * @return a chronicle map or set * @throws IllegalArgumentException if a map with this name can not be found * @throws IOException if it not possible to create the map or set * @throws TimeoutException if the call times out * @throws InterruptedException if interrupted by another thread */ T from(String name) throws IllegalArgumentException, IOException, TimeoutException, InterruptedException; }