Tabnine Logo
Thread.internalSleep
Code IndexAdd Tabnine to your IDE (free)

How to use
internalSleep
method
in
java.lang.Thread

Best Java code snippets using java.lang.Thread.internalSleep (Showing top 7 results out of 315)

origin: robovm/robovm

/**
 * Causes the thread which sent this message to sleep for the given interval
 * of time (given in milliseconds and nanoseconds). The precision is not
 * guaranteed - the Thread may sleep more or less than requested.
 *
 * @param millis
 *            The time to sleep in milliseconds.
 * @param nanos
 *            Extra nanosecond precision
 * @throws InterruptedException
 *             if <code>interrupt()</code> was called for this Thread while
 *             it was sleeping
 * @see Thread#interrupt()
 */
public static void sleep(long millis, int nanos) throws InterruptedException {
  internalSleep(millis, nanos);
}
private static native void internalSleep(long millis, int nanos) throws InterruptedException;
origin: com.mobidevelop.robovm/robovm-rt

/**
 * Causes the thread which sent this message to sleep for the given interval
 * of time (given in milliseconds and nanoseconds). The precision is not
 * guaranteed - the Thread may sleep more or less than requested.
 *
 * @param millis
 *            The time to sleep in milliseconds.
 * @param nanos
 *            Extra nanosecond precision
 * @throws InterruptedException
 *             if <code>interrupt()</code> was called for this Thread while
 *             it was sleeping
 * @see Thread#interrupt()
 */
public static void sleep(long millis, int nanos) throws InterruptedException {
  internalSleep(millis, nanos);
}
private static native void internalSleep(long millis, int nanos) throws InterruptedException;
origin: MobiVM/robovm

/**
 * Causes the thread which sent this message to sleep for the given interval
 * of time (given in milliseconds and nanoseconds). The precision is not
 * guaranteed - the Thread may sleep more or less than requested.
 *
 * @param millis
 *            The time to sleep in milliseconds.
 * @param nanos
 *            Extra nanosecond precision
 * @throws InterruptedException
 *             if <code>interrupt()</code> was called for this Thread while
 *             it was sleeping
 * @see Thread#interrupt()
 */
public static void sleep(long millis, int nanos) throws InterruptedException {
  internalSleep(millis, nanos);
}
private static native void internalSleep(long millis, int nanos) throws InterruptedException;
origin: ibinti/bugvm

/**
 * Causes the thread which sent this message to sleep for the given interval
 * of time (given in milliseconds and nanoseconds). The precision is not
 * guaranteed - the Thread may sleep more or less than requested.
 *
 * @param millis
 *            The time to sleep in milliseconds.
 * @param nanos
 *            Extra nanosecond precision
 * @throws InterruptedException
 *             if <code>interrupt()</code> was called for this Thread while
 *             it was sleeping
 * @see Thread#interrupt()
 */
public static void sleep(long millis, int nanos) throws InterruptedException {
  internalSleep(millis, nanos);
}
private static native void internalSleep(long millis, int nanos) throws InterruptedException;
origin: FlexoVM/flexovm

/**
 * Causes the thread which sent this message to sleep for the given interval
 * of time (given in milliseconds and nanoseconds). The precision is not
 * guaranteed - the Thread may sleep more or less than requested.
 *
 * @param millis
 *            The time to sleep in milliseconds.
 * @param nanos
 *            Extra nanosecond precision
 * @throws InterruptedException
 *             if <code>interrupt()</code> was called for this Thread while
 *             it was sleeping
 * @see Thread#interrupt()
 */
public static void sleep(long millis, int nanos) throws InterruptedException {
  internalSleep(millis, nanos);
}
private static native void internalSleep(long millis, int nanos) throws InterruptedException;
origin: com.bugvm/bugvm-rt

/**
 * Causes the thread which sent this message to sleep for the given interval
 * of time (given in milliseconds and nanoseconds). The precision is not
 * guaranteed - the Thread may sleep more or less than requested.
 *
 * @param millis
 *            The time to sleep in milliseconds.
 * @param nanos
 *            Extra nanosecond precision
 * @throws InterruptedException
 *             if <code>interrupt()</code> was called for this Thread while
 *             it was sleeping
 * @see Thread#interrupt()
 */
public static void sleep(long millis, int nanos) throws InterruptedException {
  internalSleep(millis, nanos);
}
private static native void internalSleep(long millis, int nanos) throws InterruptedException;
origin: com.gluonhq/robovm-rt

/**
 * Causes the thread which sent this message to sleep for the given interval
 * of time (given in milliseconds and nanoseconds). The precision is not
 * guaranteed - the Thread may sleep more or less than requested.
 *
 * @param millis
 *            The time to sleep in milliseconds.
 * @param nanos
 *            Extra nanosecond precision
 * @throws InterruptedException
 *             if <code>interrupt()</code> was called for this Thread while
 *             it was sleeping
 * @see Thread#interrupt()
 */
public static void sleep(long millis, int nanos) throws InterruptedException {
  internalSleep(millis, nanos);
}
private static native void internalSleep(long millis, int nanos) throws InterruptedException;
java.langThreadinternalSleep

Popular methods of Thread

  • currentThread
  • sleep
    Causes the currently executing thread to sleep (temporarily cease execution) for the specified numbe
  • <init>
    Constructs a new Thread with no Runnable object, the given name and belonging to the ThreadGroup pas
  • start
    Causes this thread to begin execution; the Java Virtual Machine calls the run method of this thread
  • getContextClassLoader
    Returns the context ClassLoader for this Thread. The context ClassLoader is provided by the creator
  • interrupt
    Interrupts this thread. Unless the current thread is interrupting itself, which is always permitted,
  • setDaemon
    Marks this thread as either a #isDaemon thread or a user thread. The Java Virtual Machine exits when
  • getName
    Returns this thread's name.
  • join
    Waits at most millis milliseconds plus nanos nanoseconds for this thread to die. This implementatio
  • setContextClassLoader
    Sets the context ClassLoader for this Thread. The context ClassLoader can be set when a thread is cr
  • setName
    Changes the name of this thread to be equal to the argumentname. First the checkAccess method of thi
  • interrupted
    Tests whether the current thread has been interrupted. Theinterrupted status of the thread is cleare
  • setName,
  • interrupted,
  • getStackTrace,
  • getId,
  • isInterrupted,
  • isAlive,
  • setPriority,
  • yield,
  • getThreadGroup,
  • getPriority

Popular in Java

  • Making http post requests using okhttp
  • requestLocationUpdates (LocationManager)
  • onCreateOptionsMenu (Activity)
  • notifyDataSetChanged (ArrayAdapter)
  • Time (java.sql)
    Java representation of an SQL TIME value. Provides utilities to format and parse the time's represen
  • NoSuchElementException (java.util)
    Thrown when trying to retrieve an element past the end of an Enumeration or Iterator.
  • Timer (java.util)
    Timers schedule one-shot or recurring TimerTask for execution. Prefer java.util.concurrent.Scheduled
  • Handler (java.util.logging)
    A Handler object accepts a logging request and exports the desired messages to a target, for example
  • JPanel (javax.swing)
  • LogFactory (org.apache.commons.logging)
    Factory for creating Log instances, with discovery and configuration features similar to that employ
  • Top plugins for Android Studio
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now