Package com.linkedin.alpini.jna
Class ThreadUtils
- java.lang.Object
-
- com.linkedin.alpini.jna.ThreadUtils
-
public final class ThreadUtils extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
ThreadUtils.DarwinCLib
static interface
ThreadUtils.LinuxCLib
static class
ThreadUtils.OsPlatform
static interface
ThreadUtils.WindowsCLib
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.util.concurrent.ThreadFactory
decorateName(java.util.concurrent.ThreadFactory factory)
static ThreadUtils.OsPlatform
getPlatform()
static void
setThreadName()
static void
setThreadName(java.lang.String name)
-
-
-
Method Detail
-
getPlatform
@Nonnull public static ThreadUtils.OsPlatform getPlatform()
-
decorateName
@Nonnull public static java.util.concurrent.ThreadFactory decorateName(@Nonnull java.util.concurrent.ThreadFactory factory)
-
setThreadName
public static void setThreadName()
-
setThreadName
public static void setThreadName(@Nonnull java.lang.String name)
-
-