org.jruby.internal.runtime
Interface ThreadLike
- All Known Implementing Classes:
- FutureThread, NativeThread
public interface ThreadLike
start
void start()
interrupt
void interrupt()
isAlive
boolean isAlive()
join
void join()
throws java.lang.InterruptedException,
ExecutionException
- Throws:
java.lang.InterruptedException
ExecutionException
join
void join(long millis)
throws java.lang.InterruptedException,
ExecutionException,
TimeoutException
- Throws:
java.lang.InterruptedException
ExecutionException
TimeoutException
getPriority
int getPriority()
setPriority
void setPriority(int priority)
isCurrent
boolean isCurrent()
isInterrupted
boolean isInterrupted()
Copyright © 2002-2007 JRuby Team. All Rights Reserved.