Searched refs:selector (Results 1 - 25 of 133) sorted by relevance

123456

/openjdk10/jdk/test/java/nio/channels/Selector/
H A DWakeupOverflow.java33 Selector selector = Selector.open();
36 selector.wakeup();
39 selector.close();
H A DWakeupSpeed.java37 Selector selector = Selector.open();
39 selector.wakeup();
42 selector.select(waitTime);
49 selector.close();
H A DCheckLocking.java37 private static Selector selector; field in class:CheckLocking
44 selector.select();
57 selector = SelectorProvider.provider().openSelector();
60 SelectionKey sk = sc.register(selector,0,null);
63 selector.wakeup();
65 selector.close();
H A DSelectAndClose.java34 static Selector selector; field in class:SelectAndClose
39 selector = Selector.open();
41 // Create and start a selector in a separate thread.
47 selector.select();
63 selector.close();
76 selector.wakeup();
H A DKeysReady.java44 // Prepare a selector
45 Selector selector = SelectorProvider.provider().openSelector();
47 SelectionKey key = sc.register(selector, SelectionKey.OP_CONNECT);
48 int keysAdded = selector.select();
50 keysAdded = selector.select(1000);
55 selector.close();
H A DConnectWrite.java45 Selector selector = SelectorProvider.provider().openSelector();
52 SelectionKey key = sc.register(selector, SelectionKey.OP_CONNECT);
56 int keysAdded = selector.select(1000);
58 Set readyKeys = selector.selectedKeys();
70 int keysAdded = selector.select(1000);
74 Set readyKeys = selector.selectedKeys();
85 selector.close();
H A DAlias.java49 Selector selector = SelectorProvider.provider().openSelector();
63 SelectionKey key = sc.register(selector,
66 int keysAdded = selector.select(100);
68 Set readyKeys = selector.selectedKeys();
82 selector.close();
H A DSelectAndCancel.java42 final Selector selector = Selector.open();
48 // Create and start a selector in a separate thread.
53 sk = ssc.register(selector, SelectionKey.OP_ACCEPT);
54 selector.select();
84 selector.wakeup();
85 selector.close();
/openjdk10/hotspot/src/share/tools/IdealGraphVisualizer/Graph/src/com/sun/hotspot/igv/graph/
H A DInvertSelector.java35 private Selector selector; field in class:InvertSelector
37 public InvertSelector(Selector selector) { argument
38 this.selector = selector;
45 List<Figure> otherResult = selector.selected(d);
H A DMatcherSelector.java44 Properties.PropertySelector<Figure> selector = new Properties.PropertySelector<>(d.getFigures());
45 List<Figure> list = selector.selectMultiple(matcher);
/openjdk10/jdk/test/java/security/cert/
H A DX509CertSelectorTest.java191 X509CertSelector selector = new X509CertSelector();
192 selector.setSerialNumber(new BigInteger("999999999"));
193 checkMatch(selector, cert, false);
196 selector.setSerialNumber(cert.getSerialNumber());
197 checkMatch(selector, cert, true);
204 X509CertSelector selector = new X509CertSelector();
205 selector.setIssuer("ou=bogus,ou=east,o=sun,c=us");
206 checkMatch(selector, cert, false);
209 selector.setIssuer((cert.getIssuerX500Principal()).getName("RFC2253"));
210 checkMatch(selector, cer
525 checkMatch(X509CertSelector selector, X509Certificate cert, boolean match) argument
[all...]
/openjdk10/jdk/src/java.base/share/classes/java/security/cert/
H A DCertStoreSpi.java72 * match the specified selector. If no {@code Certificate}s
73 * match the selector, an empty {@code Collection} will be returned.
77 * {@code Certificate}s that match the selector. For instance,
88 * @param selector A {@code CertSelector} used to select which
92 * match the specified selector (never {@code null})
96 (CertSelector selector) throws CertStoreException;
100 * match the specified selector. If no {@code CRL}s
101 * match the selector, an empty {@code Collection} will be returned.
105 * {@code CRL}s that match the selector. For instance,
116 * @param selector
95 engineGetCertificates(CertSelector selector) argument
123 engineGetCRLs(CRLSelector selector) argument
[all...]
/openjdk10/hotspot/src/share/tools/IdealGraphVisualizer/Filter/src/com/sun/hotspot/igv/filter/
H A DRemoveFilter.java84 private Selector selector; field in class:RemoveFilter.RemoveRule
87 public RemoveRule(Selector selector) { argument
88 this(selector, false);
91 public RemoveRule(Selector selector, boolean removeOrphans) { argument
92 this.selector = selector;
97 return selector;
H A DRemoveInputsFilter.java110 private Selector selector; field in class:RemoveInputsFilter.RemoveInputsRule
114 public RemoveInputsRule(Selector selector) { argument
115 this(selector, 0);
118 public RemoveInputsRule(Selector selector, int startIndex) { argument
119 this(selector, startIndex, Integer.MAX_VALUE);
122 public RemoveInputsRule(Selector selector, int startIndex, int endIndex) { argument
125 this.selector = selector;
137 return selector;
H A DConnectionFilter.java54 Properties.PropertySelector<Figure> selector = new Properties.PropertySelector<>(diagram.getFigures());
84 private Selector selector; field in class:ConnectionFilter.ConnectionStyleRule
86 public ConnectionStyleRule(Selector selector, Color lineColor, Connection.ConnectionStyle lineStyle) { argument
87 this.selector = selector;
93 return selector;
H A DColorFilter.java55 Properties.PropertySelector<Figure> selector = new Properties.PropertySelector<>(diagram.getFigures());
102 private Selector selector; field in class:ColorFilter.ColorRule
104 public ColorRule(Selector selector, Color c) { argument
105 this(selector, c, null, null);
108 public ColorRule(Selector selector, Color c, Color lineColor, Connection.ConnectionStyle lineStyle) { argument
109 this.selector = selector;
125 return selector;
/openjdk10/jdk/src/java.base/share/classes/sun/nio/ch/
H A DSelectionKeyImpl.java42 public final SelectorImpl selector; field in class:SelectionKeyImpl
52 selector = sel;
59 public Selector selector() { method in class:SelectionKeyImpl
60 return selector;
/openjdk10/jdk/test/java/nio/channels/SocketChannel/
H A DIsConnectable.java45 Selector selector = SelectorProvider.provider().openSelector();
47 SelectionKey key = sc.register(selector, SelectionKey.OP_CONNECT);
48 int keysAdded = selector.select();
52 keysAdded = selector.select(5000);
57 Set<SelectionKey> sel = selector.selectedKeys();
74 selector.close();
H A DConnect.java53 Selector selector;
61 selector = Selector.open();
62 sk = sc.register(selector, SelectionKey.OP_CONNECT);
66 selector.close();
76 selector.select(INCREMENTAL_DELAY);
77 Set selectedKeys = selector.selectedKeys();
111 selector.close();
H A DCloseRegisteredChannel.java48 Selector selector = Selector.open ();
51 selector, SelectionKey.OP_READ, null
59 selector.close();
/openjdk10/jdk/src/java.naming/share/classes/sun/security/provider/certpath/ldap/
H A DLDAPCertStore.java215 * match the specified selector. If no <code>Certificate</code>s
216 * match the selector, an empty <code>Collection</code> will be returned.
224 * subject nor the issuer are specified (or the selector is not an
228 * @param selector a <code>CertSelector</code> used to select which
231 * match the specified selector
236 (CertSelector selector) throws CertStoreException {
238 debug.println("LDAPCertStore.engineGetCertificates() selector: "
239 + String.valueOf(selector));
241 if (selector == null) {
242 selector
235 engineGetCertificates(CertSelector selector) argument
273 engineGetCRLs(CRLSelector selector) argument
[all...]
/openjdk10/jdk/test/java/nio/channels/Pipe/
H A DSelectPipe.java45 Selector selector = Selector.open();
53 SelectionKey readkey = source.register(selector, SelectionKey.OP_READ);
54 SelectionKey writekey = sink.register(selector, SelectionKey.OP_WRITE);
70 if (selector.select(1000) == 0) {
84 selector.close();
/openjdk10/jdk/test/java/nio/channels/SelectionKey/
H A DAtomicAttachTest.java33 Selector selector = Selector.open();
36 final SelectionKey key = channel.register(selector, 0);
64 selector.close();
/openjdk10/jdk/src/java.base/share/classes/sun/security/provider/certpath/
H A DCollectionCertStore.java106 * match the specified selector. If no <code>Certificate</code>s
107 * match the selector, an empty <code>Collection</code> will be returned.
109 * @param selector a <code>CertSelector</code> used to select which
113 * match the specified selector
118 (CertSelector selector) throws CertStoreException {
126 if (selector != null) {
129 selector.match((Certificate) o))
147 * match the specified selector. If no <code>CRL</code>s
148 * match the selector, an empty <code>Collection</code> will be returned.
150 * @param selector
117 engineGetCertificates(CertSelector selector) argument
158 engineGetCRLs(CRLSelector selector) argument
[all...]
/openjdk10/jdk/src/java.base/share/classes/java/nio/channels/spi/
H A DAbstractSelectionKey.java64 * selector's cancelled-key set while synchronized on that set. </p>
69 // condition between selector's select() and channel's close().
73 ((AbstractSelector)selector()).cancel(this);

Completed in 198 milliseconds

123456