LoopRunnable

abstract class LoopRunnable extends Runnable

A Runnable that will only execute in this selector loop and provides access to the SelectorLoops scratch buffer.

trait Runnable
class Object
trait Matchable
class Any

Value members

Abstract methods

def run(scratch: ByteBuffer): Unit

Execute the task with the borrowed scratch ByteBuffer

Execute the task with the borrowed scratch ByteBuffer

Value Params
scratch

a ByteBuffer that is owned by the parent SelectorLoop, and as such, the executing task must not retain a refer to it.

Concrete methods

final override def run(): Unit
Definition Classes
Runnable