use of org.apache.geode.modules.util.BootstrappingFunction in project geode by apache.
the class ClientServerSessionCache method bootstrapServers.
////////////////////////////////////////////////////////////////////////
// Private methods
private void bootstrapServers() {
Execution execution = FunctionService.onServers(this.cache);
ResultCollector collector = execution.execute(new BootstrappingFunction());
// Get the result. Nothing is being done with it.
try {
collector.getResult();
} catch (Exception e) {
// If an exception occurs in the function, log it.
LOG.warn("Caught unexpected exception:", e);
}
}
use of org.apache.geode.modules.util.BootstrappingFunction in project geode by apache.
the class ClientServerSessionCache method bootstrapServers.
private void bootstrapServers() {
Execution execution = FunctionService.onServers(this.cache);
ResultCollector collector = execution.execute(new BootstrappingFunction());
// Get the result. Nothing is being done with it.
try {
collector.getResult();
} catch (Exception e) {
// If an exception occurs in the function, log it.
getSessionManager().getLogger().warn("Caught unexpected exception:", e);
}
}
Aggregations