WsWebSocketContainer instances to share a single
AsynchronousChannelGroup while ensuring that the group is destroyed when no longer required.
| Modifier and Type | Class and Description |
|---|---|
| private static class |
| Modifier and Type | Field and Description |
|---|---|
| private static AsynchronousChannelGroup | |
| private static final Object | |
| private static final StringManager | |
| private static int |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| private static AsynchronousChannelGroup | |
| public static AsynchronousChannelGroup | |
| public static void |
| group | back to summary |
|---|---|
| private static AsynchronousChannelGroup group | |
| lock | back to summary |
|---|---|
| private static final Object lock | |
| sm | back to summary |
|---|---|
| private static final StringManager sm | |
| usageCount | back to summary |
|---|---|
| private static int usageCount | |
| AsyncChannelGroupUtil | back to summary |
|---|---|
| private AsyncChannelGroupUtil() | |
| createAsynchronousChannelGroup | back to summary |
|---|---|
| private static AsynchronousChannelGroup createAsynchronousChannelGroup() | |
| register | back to summary |
|---|---|
| public static AsynchronousChannelGroup register() | |
| unregister | back to summary |
|---|---|
| public static void unregister() | |
| Modifier and Type | Class and Description |
|---|---|
| private static class |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public Thread | newThread(final Runnable
a runnable to be executed by new thread instance r)Implements java. Constructs a new unstarted |
| AsyncIOThreadFactory | back to summary |
|---|---|
| private AsyncIOThreadFactory() | |
| newThread | back to summary |
|---|---|
| public Thread newThread(final Runnable r) Implements java. Doc from java. Constructs a new unstarted | |
| Modifier and Type | Field and Description |
|---|---|
| private static AtomicInteger | |
| private final Runnable |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| private static void | |
| public Thread |
| count | back to summary |
|---|---|
| private static AtomicInteger count | |
| r | back to summary |
|---|---|
| private final Runnable r | |
| NewThreadPrivilegedAction | back to summary |
|---|---|
| pack-priv NewThreadPrivilegedAction(Runnable r) | |
| load | back to summary |
|---|---|
| private static void load() | |
| run | back to summary |
|---|---|
| public Thread run() Implements java. Doc from java. Performs the computation. This method will be called by
| |