List of usage examples for org.apache.commons.lang3.concurrent ConcurrentException ConcurrentException
public ConcurrentException(final Throwable cause)
From source file:com.infinities.skyport.timeout.service.concurrent.TimedCIServicesLazyInitializer.java
@Override protected CIServices initialize() throws ConcurrentException { try {//ww w . j ava 2s . c o m if (inner.hasCIServices()) { return new TimedCIServices(inner.getCIServices(), computeConfiguration, executor); } } catch (InitializationException e) { throw new ConcurrentException(e); } return null; }
From source file:com.infinities.skyport.timeout.service.concurrent.TimedAdminServicesLazyInitializer.java
@Override protected AdminServices initialize() throws ConcurrentException { try {/*from w w w . j av a 2 s. c om*/ if (inner.hasAdminServices()) { return new TimedAdminServices(inner.getAdminServices(), computeConfiguration, executor); } } catch (InitializationException e) { throw new ConcurrentException(e); } return null; }
From source file:com.infinities.skyport.timeout.service.concurrent.TimedIdentityServicesLazyInitializer.java
@Override protected IdentityServices initialize() throws ConcurrentException { try {/* w w w . jav a 2s. co m*/ if (inner.hasIdentityServices()) { return new TimedIdentityServices(inner.getIdentityServices(), computeConfiguration, executor); } } catch (InitializationException e) { throw new ConcurrentException(e); } return null; }
From source file:com.infinities.skyport.timeout.service.concurrent.TimedPlatformServicesLazyInitializer.java
@Override protected PlatformServices initialize() throws ConcurrentException { try {// www. ja va 2 s . co m if (inner.hasPlatformServices()) { return new TimedPlatformServices(inner.getPlatformServices(), computeConfiguration, executor); } } catch (InitializationException e) { throw new ConcurrentException(e); } return null; }
From source file:com.infinities.skyport.timeout.service.concurrent.TimedComputeServicesLazyInitializer.java
@Override protected SkyportComputeServices initialize() throws ConcurrentException { try {/* ww w.j a v a 2 s. c o m*/ if (inner.hasComputeServices()) { return new TimedComputeServices(inner.getSkyportComputeServices(), computeConfiguration, executor); } } catch (InitializationException e) { throw new ConcurrentException(e); } return null; }
From source file:com.infinities.skyport.timeout.service.concurrent.TimedNetworkServicesLazyInitializer.java
@Override protected SkyportNetworkServices initialize() throws ConcurrentException { try {/*w ww . jav a 2s.co m*/ if (inner.hasNetworkServices()) { return new TimedNetworkServices(inner.getSkyportNetworkServices(), computeConfiguration, executor); } } catch (InitializationException e) { throw new ConcurrentException(e); } return null; }
From source file:com.infinities.skyport.timeout.service.concurrent.TimedStorageServicesLazyInitializer.java
@Override protected SkyportStorageServices initialize() throws ConcurrentException { try {/*from www. ja v a 2 s .c o m*/ if (inner.hasStorageServices()) { return new TimedStorageServices(inner.getSkyportStorageServices(), storageConfiguration, executor); } } catch (InitializationException e) { throw new ConcurrentException(e); } return null; }
From source file:com.infinities.skyport.async.impl.service.concurrent.AsyncCIServicesImplLazyInitializer.java
@Override protected AsyncCIServices initialize() throws ConcurrentException { try {/*from w ww. ja va2 s . c om*/ if (inner.hasCIServices()) { AsyncCIServices services = new AsyncCIServicesImpl(configurationId, inner, configuration, threadPools); services.initialize(); return services; } } catch (Exception e) { throw new ConcurrentException(e); } return null; }
From source file:com.infinities.skyport.async.impl.service.concurrent.AsyncAdminServicesImplLazyInitializer.java
@Override protected AsyncAdminServices initialize() throws ConcurrentException { try {// w ww . jav a2 s .co m if (inner.hasAdminServices()) { AsyncAdminServices services = new AsyncAdminServicesImpl(configurationId, inner, configuration, threadPools); services.initialize(); return services; } } catch (Exception e) { throw new ConcurrentException(e); } return null; }
From source file:com.infinities.skyport.async.impl.service.concurrent.AsyncNetworkServicesImplLazyInitializer.java
@Override protected AsyncNetworkServices initialize() throws ConcurrentException { try {//w w w . ja v a 2s . c o m if (inner.hasNetworkServices()) { AsyncNetworkServices services = new AsyncNetworkServicesImpl(configurationId, inner, configuration, threadPools); services.initialize(); return services; } } catch (Exception e) { throw new ConcurrentException(e); } return null; }