public final class Environment extends Object
Constructor and Description |
---|
Environment() |
Modifier and Type | Method and Description |
---|---|
static void |
configurePool(ExecutorService pool) |
static void |
configureProperty(String name,
String value) |
static int |
getCores() |
static Map<String,String> |
getPlugins(Class<?> baseClass) |
static ExecutorService |
getPool() |
static String |
getProperty(String name) |
static String |
getProperty(String name,
String valueIfNull) |
static List<String> |
getPropertyNames() |
static <T> T |
newPlugin(Class<T> baseClass,
String name,
String... args) |
static void |
run(Iterable<? extends Runnable> runnables) |
public static void configurePool(@Nullable ExecutorService pool)
public static int getCores()
public static ExecutorService getPool()
Copyright © 2015–2016 FBK-irst. All rights reserved.