KeyPool

trait KeyPool

A pool of long integers that serve as node ids. Using the method next, the pool provides the next id in a thread-safe manner.

class Object
trait Matchable
class Any

Value members

Abstract methods

def next: Long

Returns the next id from the key pool

Returns the next id from the key pool