Searched defs:seconds (Results 1 - 25 of 28) sorted by relevance

12

/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/tests/quicklook/ejb/remoteview/src/java/
H A DHello.java53 Future<String> asyncBlock(int seconds); argument
59 Future<String> asyncCancel(int seconds) throws Exception; argument
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...]
/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/transaction/jta/src/main/java/com/sun/enterprise/transaction/
H A DUserTransactionImpl.java275 public void setTransactionTimeout(int seconds) throws SystemException { argument
279 userTx.setTransactionTimeout(seconds);
288 transactionManager.setTransactionTimeout(seconds);
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 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/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/connectors/service/
H A DConnectorResourceAdminServiceImpl.java294 public void setLoginTimeout(int seconds) throws SQLException { argument
295 loginTimeout = 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/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/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/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/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/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/jdbc/jdbc-ra/jdbc-core/src/main/java/com/sun/gjc/spi/base/
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);
H A DPreparedStatementWrapper.java856 public void setQueryTimeout(int seconds) throws SQLException { argument
857 preparedStatement.setQueryTimeout(seconds);
859 currentQueryTimeout = seconds;
/glassfish-3.1.2/persistence/cmp/support-sqlstore/src/main/java/com/sun/jdo/spi/persistence/support/sqlstore/impl/
H A DTransactionImpl.java268 public TransactionImpl(PersistenceManager pm, String username, String password, int seconds) { argument
270 this.timeout = seconds;
423 * Sets the number of seconds to wait for a query statement
425 * @param timeout new timout value in seconds; zero means unlimited
432 * Gets the number of seconds to wait for a query statement
434 * @return timout value in seconds; zero means unlimited
441 * Sets the number of seconds to wait for an update statement
443 * @param timeout new timout value in seconds; zero means unlimited
450 * Gets the number of seconds to wait for an update statement
452 * @return timout value in seconds; zer
[all...]
/glassfish-3.1.2/ejb/ejb-container/src/main/java/com/sun/ejb/containers/
H A DTimerSchedule.java94 private BitSet seconds = new BitSet(60); field in class:TimerSchedule
609 if(skipToNextValue(next, seconds, Calendar.SECOND, Calendar.MINUTE)) {
626 parseNumbersOrNames(second_, seconds, 0, 60, true, SECOND);

Completed in 590 milliseconds

12