org.jruby.internal.runtime
Interface ThreadLike

All Known Implementing Classes:
FutureThread, NativeThread

public interface ThreadLike


Method Summary
 int getPriority()
           
 void interrupt()
           
 boolean isAlive()
           
 boolean isCurrent()
           
 boolean isInterrupted()
           
 void join()
           
 void join(long millis)
           
 void setPriority(int priority)
           
 void start()
           
 

Method Detail

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.