Searched refs:seconds (Results 1 - 25 of 30) sorted by relevance

12

/glassfish-3.1.2/tests/quicklook/ejb/remoteview/src/java/
H A DHelloBean.java73 public Future<String> asyncBlock(int seconds) { argument
75 sleep(seconds);
93 public Future<String> asyncCancel(int seconds) throws Exception argument
96 sleep(seconds);
98 throw new Exception("Canceled after " + seconds + " seconds");
117 private void sleep(int seconds) { argument
119 System.out.println("In HelloBean::sleeping for " + seconds +
120 "seconds");
122 Thread.currentThread().sleep(seconds * 100
[all...]
H A DHello.java53 Future<String> asyncBlock(int seconds); argument
59 Future<String> asyncCancel(int seconds) throws Exception; argument
/glassfish-3.1.2/transaction/javax.transaction/src/main/java/javax/transaction/
H A DUserTransaction.java145 * @param seconds The value of the timeout in seconds. If the value is zero,
153 void setTransactionTimeout(int seconds) throws SystemException; argument
H A DTransactionManager.java182 * @param seconds The value of the timeout in seconds. If the value is zero,
190 public void setTransactionTimeout(int seconds) throws SystemException; argument
/glassfish-3.1.2/transaction/jts/src/main/java/com/sun/jts/jta/
H A DUserTransactionImpl.java182 * @param seconds The value of the timeout in seconds. If the value is zero,
190 public void setTransactionTimeout(int seconds) throws SystemException { argument
192 this.transactionManager.setTransactionTimeout(seconds);
H A DTransactionManagerImpl.java427 * @param seconds The value of the timeout in seconds. If the value is zero,
435 public synchronized void setTransactionTimeout(int seconds) argument
439 if (seconds < 0) {
444 current.set_timeout(seconds);
/glassfish-3.1.2/admingui/devtests/src/test/java/org/glassfish/admingui/devtests/
H A DRestSessionTimeoutTest.java98 for (int seconds = 0;; seconds++) {
99 if (seconds >= (30)) {
H A DBaseSeleniumTestClass.java407 * the resulting page, timing out TIMEOUT seconds.
415 protected void clickAndWait(String id, String triggerText, int seconds) { argument
419 waitForPageLoad(triggerText, seconds);
464 * @param timeout How long to wait (in seconds)
479 for (int seconds = 0;; seconds++) {
480 if (seconds >= (timeoutInSeconds)) {
509 for (int seconds = 0;; seconds++) {
510 if (seconds >
[all...]
/glassfish-3.1.2/transaction/javax.transaction/src/main/java/javax/transaction/xa/
H A DXAResource.java145 * @return the transaction timeout value in seconds.
239 * @param seconds The transaction timeout value in seconds.
247 boolean setTransactionTimeout(int seconds) throws XAException; argument
/glassfish-3.1.2/jdbc/jdbc-ra/jdbc-core/src/main/java/com/sun/gjc/spi/
H A DXAResourceImpl.java120 * @return the transaction timeout value in seconds
208 * @param seconds the transaction timeout value in seconds.
211 public boolean setTransactionTimeout(int seconds) throws XAException { argument
212 return xar.setTransactionTimeout(seconds);
/glassfish-3.1.2/connectors/connectors-runtime/src/main/java/com/sun/enterprise/resource/
H A DXAResourceWrapper.java126 public boolean setTransactionTimeout(int seconds) throws XAException { argument
127 return res.setTransactionTimeout(seconds);
H A DConnectorXAResource.java222 public boolean setTransactionTimeout(int seconds) throws XAException { argument
/glassfish-3.1.2/persistence/cmp/support-sqlstore/src/main/java/com/sun/jdo/spi/persistence/support/sqlstore/sco/
H A DDate.java203 * Sets the seconds of this <tt>Date</tt> to the specified value.
205 * @param seconds the seconds value.
209 * replaced by <code>Calendar.set(Calendar.SECOND, int seconds)</code>.
211 public void setSeconds(int seconds) { argument
213 super.setSeconds(seconds);
H A DSqlTime.java164 * Sets the seconds of this <tt>SqlTime</tt> to the specified value.
166 * @param seconds the seconds value.
170 * replaced by <code>Calendar.set(Calendar.SECOND, int seconds)</code>.
172 public void setSeconds(int seconds) { argument
174 super.setSeconds(seconds);
H A DSqlTimestamp.java120 * @param n the new fractional seconds component
228 * Sets the seconds of this <tt>SqlTimestamp</tt> to the specified value.
230 * @param seconds the seconds value.
234 * replaced by <code>Calendar.set(Calendar.SECOND, int seconds)</code>.
236 public void setSeconds(int seconds) { argument
238 super.setSeconds(seconds);
267 * @param n the new fractional seconds component
/glassfish-3.1.2/transaction/jta/src/main/java/com/sun/enterprise/transaction/
H A DTransactionManagerHelper.java110 public void setTransactionTimeout(int seconds) throws SystemException { argument
111 transactionManager.setTransactionTimeout(seconds);
209 * @return Returns the duration in seconds before current transaction would
H A DUserTransactionImpl.java275 public void setTransactionTimeout(int seconds) throws SystemException { argument
279 userTx.setTransactionTimeout(seconds);
288 transactionManager.setTransactionTimeout(seconds);
H A DJavaEETransactionManagerSimplified.java1037 public void setTransactionTimeout(int seconds) throws SystemException { argument
1038 if (seconds < 0) {
1042 txnTmout.set(seconds);
1043 // transactionTimeout = seconds;
1123 public void setDefaultTransactionTimeout(int seconds) { argument
1124 if (seconds < 0) seconds = 0;
1125 transactionTimeout = seconds;
/glassfish-3.1.2/transaction/jts/src/main/java/com/sun/jts/CosTransactions/
H A DDelegatedTimeoutManager.java142 * seconds.
150 * @param seconds The length of the timeout.
157 int seconds) {
176 new Date().getTime() + seconds * 1000L;
188 new Date().getTime() + seconds * 1000L;
602 * Performs timeout checking on a regular basis (every ten seconds or so).
156 setTimeout(Long localTID, int timeoutType, int seconds) argument
H A DTimeoutManager.java159 * seconds.
167 * @param seconds The length of the timeout.
174 int seconds) {
195 new Date().getTime() + seconds * 1000L;
207 new Date().getTime() + seconds * 1000L;
678 * Performs timeout checking on a regular basis (every ten seconds or so).
173 setTimeout(Long localTID, int timeoutType, int seconds) argument
/glassfish-3.1.2/common/amx-core/src/main/java/org/glassfish/admin/amx/util/
H A DStringUtil.java389 private static double seconds(final long nanos) method in class:StringUtil
396 @return a String describing the elapsed duration in seconds
405 @return a String describing the elapsed duration in seconds
440 result = String.format(SECONDS_FORMAT, seconds(nanos));
455 final long seconds = nanos / (1000 * 1000 * 1000);
/glassfish-3.1.2/jdbc/jdbc-ra/jdbc-core/src/main/java/com/sun/gjc/spi/base/
H A DPreparedStatementWrapper.java856 public void setQueryTimeout(int seconds) throws SQLException { argument
857 preparedStatement.setQueryTimeout(seconds);
859 currentQueryTimeout = seconds;
H A DStatementWrapper.java233 * Retrieves the number of seconds the driver will
237 * @return the current query timeout limit in seconds; zero means there is
247 * Sets the number of seconds the driver will wait for a
248 * <code>Statement</code> object to execute to the given number of seconds.
251 * @param seconds the new query timeout limit in seconds; zero means
254 * or the condition seconds >= 0 is not satisfied
257 public void setQueryTimeout(int seconds) throws SQLException { argument
258 jdbcStatement.setQueryTimeout(seconds);
/glassfish-3.1.2/transaction/internal-api/src/main/java/com/sun/enterprise/transaction/api/
H A DJavaEETransactionManager.java198 public void setDefaultTransactionTimeout(int seconds); argument
/glassfish-3.1.2/connectors/connectors-runtime/src/main/java/com/sun/enterprise/connectors/service/
H A DConnectorResourceAdminServiceImpl.java294 public void setLoginTimeout(int seconds) throws SQLException { argument
295 loginTimeout = seconds;

Completed in 83 milliseconds

12