| Modifier and Type | Field and Description |
|---|---|
| private final long | |
| private final Cleaner. | |
| private final Runnable | |
| private static final int | |
| private final int | |
| private final int | |
| private final EventFD | |
| private final int |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv void | |
| private static Runnable | |
| pack-priv int | fdVal()
Overrides sun. Returns the poller's file descriptor to use when polling with the master poller. |
| pack-priv void | implStartPoll(int fdVal)
Implements abstract sun. Register the file descriptor with the I/O event management facility so that it is polled when the file descriptor is ready for I/O. |
| pack-priv void | implStopPoll(int fdVal, boolean polled)
Implements abstract sun. Deregister a file descriptor from the I/O event management facility. |
| pack-priv int | |
| pack-priv void | wakeupPoller()
Overrides sun. Wakeup the poller thread if blocked in poll so it can shutdown. |
| address | back to summary |
|---|---|
| private final long address | |
| cleaner | back to summary |
|---|---|
| private final Cleaner. | |
| closer | back to summary |
|---|---|
| private final Runnable closer | |
| ENOENT | back to summary |
|---|---|
| private static final int ENOENT | |
| epfd | back to summary |
|---|---|
| private final int epfd | |
| event | back to summary |
|---|---|
| private final int event | |
| eventfd | back to summary |
|---|---|
| private final EventFD eventfd | |
| maxEvents | back to summary |
|---|---|
| private final int maxEvents | |
| EPollPoller | back to summary |
|---|---|
| pack-priv EPollPoller(Poller. | |
| close | back to summary |
|---|---|
| pack-priv void close() Implements abstract sun. Doc from sun. Closes the poller and release resources. This method can only be used to cleanup when creating a poller group fails.
| |
| closer | back to summary |
|---|---|
| private static Runnable closer(int epfd, long address, EventFD eventfd) Returns an action to close the epoll instance and release other resources. | |
| fdVal | back to summary |
|---|---|
| pack-priv int fdVal() Overrides sun. Doc from sun. Returns the poller's file descriptor to use when polling with the master poller.
| |
| implStartPoll | back to summary |
|---|---|
| pack-priv void implStartPoll(int fdVal) throws IOException Implements abstract sun. Doc from sun. Register the file descriptor with the I/O event management facility so that it is polled when the file descriptor is ready for I/O. The registration is "one shot", meaning it should be polled at most once.
| |
| implStopPoll | back to summary |
|---|---|
| pack-priv void implStopPoll(int fdVal, boolean polled) Implements abstract sun. Doc from sun. Deregister a file descriptor from the I/O event management facility. This may be a no-op in some implementations when the file descriptor has already been polled.
| |
| poll | back to summary |
|---|---|
| pack-priv int poll(int timeout) throws IOException Implements abstract sun. Doc from sun. Poll for events. The
| |
| wakeupPoller | back to summary |
|---|---|
| pack-priv void wakeupPoller() throws IOException Overrides sun. Doc from sun. Wakeup the poller thread if blocked in poll so it can shutdown.
| |