Searched refs:interestOps (Results 1 - 18 of 18) sorted by relevance

/openjdk7/jdk/src/share/classes/sun/nio/ch/
H A DSelectionKeyImpl.java47 private volatile int interestOps; field in class:SelectionKeyImpl
76 public int interestOps() { method in class:SelectionKeyImpl
78 return interestOps;
81 public SelectionKey interestOps(int ops) { method in class:SelectionKeyImpl
106 interestOps = ops;
111 return interestOps;
H A DSelectorImpl.java135 k.interestOps(ops);
/openjdk7/jdk/src/share/classes/java/nio/channels/
H A DSelectionKey.java57 * #interestOps(int)} method. </p></li>
179 public abstract int interestOps(); method in class:SelectionKey
199 public abstract SelectionKey interestOps(int ops); method in class:SelectionKey
/openjdk7/jdk/test/java/nio/channels/Selector/
H A DLotsOfUpdates.java34 key.interestOps(0);
H A DCheckLocking.java62 sk.interestOps(SelectionKey.OP_READ);
H A DConnectWrite.java69 key.interestOps(SelectionKey.OP_WRITE);
H A DChangingInterests.java78 key.interestOps(from);
83 key.interestOps(to);
H A DRacyDeregister.java38 * @summary SelectionKey.interestOps does not update interest set on Windows.
75 // thread that will be changing key[0].interestOps to OP_READ | OP_WRITE
85 key[0].interestOps(SelectionKey.OP_READ
H A DLotsOfCancels.java281 key.interestOps(0);
H A DSelectorTest.java387 sk.interestOps(0);
/openjdk7/corba/src/share/classes/com/sun/corba/se/impl/transport/
H A DEventHandlerBase.java89 getSelectionKey().interestOps(getSelectionKey().interestOps() &
H A DSelectorImpl.java421 selectionKeyOps = selectionKey.interestOps();
422 selectionKey.interestOps(selectionKeyOps | keyOp);
H A DSocketOrChannelConnectionImpl.java1133 getSelectionKey().interestOps(getSelectionKey().interestOps() &
/openjdk7/jdk/test/java/nio/channels/SocketChannel/
H A DConnect.java95 sk.interestOps(SelectionKey.OP_WRITE);
/openjdk7/jdk/src/share/sample/nio/server/
H A DChannelIOSecure.java287 sk.interestOps(SelectionKey.OP_READ);
343 sk.interestOps(SelectionKey.OP_READ);
386 sk.interestOps(SelectionKey.OP_WRITE);
H A DRequestHandler.java144 sk.interestOps(SelectionKey.OP_WRITE);
/openjdk7/jdk/test/com/sun/nio/sctp/SctpChannel/
H A DCommUp.java143 check((sk.interestOps() & OP_CONNECT) == OP_CONNECT,
145 sk.interestOps(OP_READ);
146 check((sk.interestOps() & OP_CONNECT) != OP_CONNECT,
/openjdk7/jdk/src/share/classes/java/nio/channels/spi/
H A DAbstractSelectableChannel.java201 k.interestOps(ops);

Completed in 48 milliseconds