Searched defs:concurrency (Results 1 - 7 of 7) sorted by relevance

/openjdk7/jdk/src/solaris/demo/jni/Poller/
H A DPollingServer.java52 * Although this demo does allow for concurrency
77 public PollingServer(int concurrency) { argument
117 consumerThread < concurrency; consumerThread++ ) {
194 for (int cThread = 0; cThread < concurrency; cThread++ ) {
201 * main ... just check if a concurrency was specified
205 int concurrency;
208 concurrency = java.lang.Integer.valueOf(args[0]).intValue();
210 concurrency = Poller.getNumCPUs() + 1;
211 PollingServer server = new PollingServer(concurrency);
217 * the number of CPUs (or concurrency argumen
[all...]
/openjdk7/jdk/src/windows/native/sun/nio/ch/
H A DIocp.c73 jlong handle, jlong existingPort, jint completionKey, jint concurrency)
79 (DWORD)concurrency);
72 Java_sun_nio_ch_Iocp_createIoCompletionPort(JNIEnv* env, jclass this, jlong handle, jlong existingPort, jint completionKey, jint concurrency) argument
/openjdk7/jdk/src/windows/classes/sun/nio/ch/
H A DIocp.java433 long existingPort, int completionKey, int concurrency) throws IOException;
432 createIoCompletionPort(long handle, long existingPort, int completionKey, int concurrency) argument
/openjdk7/jdk/test/java/util/concurrent/ThreadPoolExecutor/
H A DScheduledTickleService.java40 private static final int concurrency = 2; field in class:ScheduledTickleService
43 public static final CountDownLatch done = new CountDownLatch(concurrency);
48 new ScheduledThreadPoolExecutor(concurrency) {
63 for (int i = 0; i < concurrency; i++)
/openjdk7/jdk/src/share/classes/javax/sql/
H A DRowSet.java424 * Sets the concurrency of this <code>RowSet</code> object to the given
425 * concurrency level. This method is used to change the concurrency level
428 * @param concurrency one of the <code>ResultSet</code> constants specifying a
429 * concurrency level: <code>ResultSet.CONCUR_READ_ONLY</code> or
434 void setConcurrency(int concurrency) throws SQLException; argument
/openjdk7/jdk/src/share/classes/javax/sql/rowset/
H A DBaseRowSet.java441 * A constant indicating the concurrency of this JDBC <code>RowSet</code>
447 private int concurrency = ResultSet.CONCUR_UPDATABLE; field in class:BaseRowSet
980 * Sets the concurrency for this <code>RowSet</code> object to
981 * the specified concurrency. The default concurrency for any <code>RowSet</code>
983 * but this method may be called at any time to change the concurrency.
985 * @param concurrency one of the following constants:
995 public void setConcurrency(int concurrency) throws SQLException { argument
997 if((concurrency != ResultSet.CONCUR_READ_ONLY) &&
998 (concurrency !
[all...]
/openjdk7/jdk/src/share/classes/java/sql/
H A DDatabaseMetaData.java2610 * Retrieves whether this database supports the given concurrency type
2614 * @param concurrency type defined in <code>java.sql.ResultSet</code>
2620 boolean supportsResultSetConcurrency(int type, int concurrency) argument

Completed in 53 milliseconds