interrupt()

Overview

public void function interrupt(
      any thethread
)

Interrupts the given thread, allowing it to gracefully shutdown.

Arguments

NameTypeRequiredDescription
thethreadanyNoJava object representing the thread to interrupt