
delight.concurrency.jre.internal.JreConcurrencyFactory Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of delight-concurrency Show documentation
Show all versions of delight-concurrency Show documentation
An abstract and lightweight definition of concurrency fundamentals.
The newest version!
package delight.concurrency.jre.internal;
import delight.concurrency.Concurrency;
import delight.concurrency.configuration.ConcurrencyConfiguration;
import delight.concurrency.jre.JreConcurrency;
import delight.factories.Configuration;
import delight.factories.Dependencies;
import delight.factories.Factory;
public class JreConcurrencyFactory implements Factory {
@Override
public boolean canInstantiate(final Configuration conf) {
return conf instanceof ConcurrencyConfiguration;
}
@Override
public Concurrency create(final ConcurrencyConfiguration conf, final Dependencies dependencies) {
return new JreConcurrency();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy