public final class SelectorOptimizer extends Object
Modifier and Type | Method and Description |
---|---|
static com.hazelcast.internal.networking.nio.SelectorOptimizer.SelectionKeysSet |
optimize(Selector selector,
ILogger logger)
Tries to optimize the provided Selector.
|
public static com.hazelcast.internal.networking.nio.SelectorOptimizer.SelectionKeysSet optimize(Selector selector, ILogger logger)
selector
- the selector to optimizeNullPointerException
- if selector or logger is null.Copyright © 2018 Hazelcast, Inc.. All Rights Reserved.