All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.javabits.yar.guice.NoWaitBlockingSupplierFactory Maven / Gradle / Ivy

There is a newer version: 3.0.1.RELEASE
Show newest version
package org.javabits.yar.guice;

import org.javabits.yar.BlockingSupplier;
import org.javabits.yar.Id;

/**
 * @author Romain Gilles
 *         Date: 5/31/13
 *         Time: 1:39 PM
 */
public class NoWaitBlockingSupplierFactory implements BlockingSupplierFactory {
    @Override
    public  BlockingSupplier create(InternalRegistry registry, Id id) {
        return new NoWaitBlockingSupplier<>(id, registry.getDirectly(id));
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy