use of org.platformlayer.forkjoin.FakeForkJoinStrategy in project platformlayer by platformlayer.
the class FederatedPlatformLayerClient method build.
// public static PlatformLayerClient build(TypedPlatformLayerClient localClient, TypedItemMapper mapper)
// throws OpsException {
// FederationMap federationMap = buildFederationMap(localClient, mapper);
//
// ForkJoinStrategy forkJoinPool = new FakeForkJoinStrategy();
//
// return new FederatedPlatformLayerClient(federationMap, forkJoinPool);
// }
public static PlatformLayerClient build(ProjectId defaultProject, FederationMap federationMap) throws OpsException {
ForkJoinStrategy forkJoinPool = new FakeForkJoinStrategy();
TypedItemMapper mapper = null;
return new FederatedPlatformLayerClient(mapper, defaultProject, federationMap, forkJoinPool);
}
Aggregations