mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 07:14:30 +02:00
8198562: (ch) Separate blocking and non-blocking code paths (part 1)
8198754: (ch) Separate blocking and non-blocking code paths (part 2) Reviewed-by: bpb
This commit is contained in:
parent
3918ed17a5
commit
13dd8888d2
16 changed files with 1645 additions and 1279 deletions
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (c) 2000, 2012, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2000, 2018, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
|
@ -29,7 +29,6 @@ import java.nio.channels.Channel;
|
|||
import java.io.FileDescriptor;
|
||||
import java.io.IOException;
|
||||
|
||||
|
||||
/**
|
||||
* An interface that allows translation (and more!).
|
||||
*
|
||||
|
@ -50,7 +49,7 @@ public interface SelChImpl extends Channel {
|
|||
* contains at least one bit that the previous value did not
|
||||
* contain
|
||||
*/
|
||||
public boolean translateAndUpdateReadyOps(int ops, SelectionKeyImpl sk);
|
||||
boolean translateAndUpdateReadyOps(int ops, SelectionKeyImpl sk);
|
||||
|
||||
/**
|
||||
* Sets the specified ops if present in interestOps. The specified
|
||||
|
@ -60,7 +59,7 @@ public interface SelChImpl extends Channel {
|
|||
* contains at least one bit that the previous value did not
|
||||
* contain
|
||||
*/
|
||||
public boolean translateAndSetReadyOps(int ops, SelectionKeyImpl sk);
|
||||
boolean translateAndSetReadyOps(int ops, SelectionKeyImpl sk);
|
||||
|
||||
void translateAndSetInterestOps(int ops, SelectionKeyImpl sk);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue