Searched refs:SelectorProvider (Results 1 - 25 of 64) sorted by relevance

123

/openjdk7/jdk/src/macosx/classes/sun/nio/ch/
H A DDefaultSelectorProvider.java28 import java.nio.channels.spi.SelectorProvider;
31 * Creates this platform's default SelectorProvider
42 * Returns the default SelectorProvider.
44 public static SelectorProvider create() {
/openjdk7/jdk/src/windows/classes/sun/nio/ch/
H A DDefaultSelectorProvider.java28 import java.nio.channels.spi.SelectorProvider;
32 * Creates this platform's default SelectorProvider
43 * Returns the default SelectorProvider.
45 public static SelectorProvider create() {
/openjdk7/jdk/src/share/classes/sun/nio/ch/
H A DSecrets.java30 import java.nio.channels.spi.SelectorProvider;
41 private static SelectorProvider provider() {
42 SelectorProvider p = SelectorProvider.provider();
H A DSelectorProviderImpl.java38 extends SelectorProvider
/openjdk7/jdk/test/java/nio/channels/Selector/
H A DSelectNowWhenEmpty.java33 import java.nio.channels.spi.SelectorProvider;
38 Selector s = SelectorProvider.provider().openSelector();
H A DKeysReady.java32 import java.nio.channels.spi.SelectorProvider;
45 Selector selector = SelectorProvider.provider().openSelector();
/openjdk7/jdk/src/share/classes/java/nio/channels/spi/
H A DSelectorProvider.java69 public abstract class SelectorProvider { class
72 private static SelectorProvider provider = null;
81 protected SelectorProvider() { method in class:SelectorProvider
88 String cn = System.getProperty("java.nio.channels.spi.SelectorProvider");
94 provider = (SelectorProvider)c.newInstance();
109 ServiceLoader<SelectorProvider> sl =
110 ServiceLoader.load(SelectorProvider.class,
112 Iterator<SelectorProvider> i = sl.iterator();
139 * <tt>java.nio.channels.spi.SelectorProvider</tt> is defined then it is
147 * <tt>java.nio.channels.spi.SelectorProvider</t
[all...]
H A DAbstractSelector.java76 private final SelectorProvider provider;
81 protected AbstractSelector(SelectorProvider provider) {
138 public final SelectorProvider provider() {
/openjdk7/jdk/src/share/classes/java/nio/channels/
H A DPipe.java67 protected SourceChannel(SelectorProvider provider) {
98 protected SinkChannel(SelectorProvider provider) {
140 * java.nio.channels.spi.SelectorProvider#openPipe openPipe} method of the
141 * system-wide default {@link java.nio.channels.spi.SelectorProvider}
150 return SelectorProvider.provider().openPipe();
H A DSelector.java30 import java.nio.channels.spi.SelectorProvider;
39 * java.nio.channels.spi.SelectorProvider </code>selector provider<code>} to
41 * {@link java.nio.channels.spi.SelectorProvider#openSelector openSelector}
217 * java.nio.channels.spi.SelectorProvider#openSelector openSelector} method
219 * java.nio.channels.spi.SelectorProvider} object. </p>
227 return SelectorProvider.provider().openSelector();
242 public abstract SelectorProvider provider();
H A DServerSocketChannel.java33 import java.nio.channels.spi.SelectorProvider;
82 protected ServerSocketChannel(SelectorProvider provider) {
90 * java.nio.channels.spi.SelectorProvider#openServerSocketChannel
92 * java.nio.channels.spi.SelectorProvider} object.
105 return SelectorProvider.provider().openServerSocketChannel();
H A DSelectableChannel.java30 import java.nio.channels.spi.SelectorProvider;
107 public abstract SelectorProvider provider();
H A DDatagramChannel.java35 import java.nio.channels.spi.SelectorProvider;
121 protected DatagramChannel(SelectorProvider provider) {
129 * java.nio.channels.spi.SelectorProvider#openDatagramChannel()
131 * java.nio.channels.spi.SelectorProvider} object. The channel will not be
146 return SelectorProvider.provider().openDatagramChannel();
158 * java.nio.channels.spi.SelectorProvider#openDatagramChannel(ProtocolFamily)
160 * java.nio.channels.spi.SelectorProvider} object. The channel will not be
179 return SelectorProvider.provider().openDatagramChannel(family);
H A DSocketChannel.java34 import java.nio.channels.spi.SelectorProvider;
124 protected SocketChannel(SelectorProvider provider) {
132 * java.nio.channels.spi.SelectorProvider#openSocketChannel
134 * java.nio.channels.spi.SelectorProvider} object. </p>
142 return SelectorProvider.provider().openSocketChannel();
/openjdk7/jdk/test/java/nio/channels/spi/SelectorProvider/inheritedChannel/
H A DNullTest.java30 import java.nio.channels.spi.SelectorProvider;
37 // test the assertion that SelectorProvider.inheritedChannel()
43 c1 = SelectorProvider.provider().inheritedChannel();
/openjdk7/jdk/test/java/nio/channels/SocketChannel/
H A DOpen.java34 import java.nio.channels.spi.SelectorProvider;
57 SelectorProvider sp = SelectorProvider.provider();
81 SelectorProvider sp = SelectorProvider.provider();
/openjdk7/jdk/test/java/nio/channels/Pipe/
H A DEmptyRead.java33 import java.nio.channels.spi.SelectorProvider;
40 SelectorProvider sp = SelectorProvider.provider();
H A DPipeChannel.java31 import java.nio.channels.spi.SelectorProvider;
44 SelectorProvider sp = SelectorProvider.provider();
H A DSelectPipe.java31 import java.nio.channels.spi.SelectorProvider;
43 SelectorProvider sp = SelectorProvider.provider();
/openjdk7/jdk/src/solaris/classes/sun/nio/ch/
H A DDefaultSelectorProvider.java28 import java.nio.channels.spi.SelectorProvider;
34 * Creates this platform's default SelectorProvider
45 * Returns the default SelectorProvider.
47 public static SelectorProvider create() {
H A DInheritedChannel.java37 import java.nio.channels.spi.SelectorProvider;
78 InheritedSocketChannelImpl(SelectorProvider sp,
95 InheritedServerSocketChannelImpl(SelectorProvider sp,
112 InheritedDatagramChannelImpl(SelectorProvider sp,
180 SelectorProvider provider = SelectorProvider.provider();
/openjdk7/jdk/src/share/classes/com/sun/nio/sctp/
H A DSctpServerChannel.java32 import java.nio.channels.spi.SelectorProvider;
80 protected SctpServerChannel(SelectorProvider provider) {
101 return new sun.nio.ch.SctpServerChannelImpl((SelectorProvider)null);
H A DSctpChannel.java33 import java.nio.channels.spi.SelectorProvider;
146 protected SctpChannel(SelectorProvider provider) {
165 return new sun.nio.ch.SctpChannelImpl((SelectorProvider)null);
H A DSctpMultiChannel.java33 import java.nio.channels.spi.SelectorProvider;
146 protected SctpMultiChannel(SelectorProvider provider) {
165 return new sun.nio.ch.SctpMultiChannelImpl((SelectorProvider)null);
/openjdk7/jdk/test/sun/nio/ch/
H A DSelProvider.java27 * @summary Verify that appropriate SelectorProvider is selected.
34 String expected = System.getProperty("java.nio.channels.spi.SelectorProvider");
48 String cn = SelectorProvider.provider().getClass().getName();

Completed in 193 milliseconds

123