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

12

/openjdk7/jdk/src/share/classes/javax/sql/
H A DCommonDataSource.java86 * <p>Sets the maximum time in seconds that this data source will wait
93 * @param seconds the data source login time limit
98 void setLoginTimeout(int seconds) throws SQLException; argument
101 * Gets the maximum time in seconds that this data source can wait
H A DRowSet.java386 * Retrieves the maximum number of seconds the driver will wait for
390 * @return the current query timeout limit in seconds; zero means
399 * a statement to execute to the given number of seconds.
402 * @param seconds the new query timeout limit in seconds; zero means
407 void setQueryTimeout(int seconds) throws SQLException; argument
/openjdk7/hotspot/src/share/vm/gc_implementation/shared/
H A DgcTraceTime.cpp80 double seconds = TimeHelper::counter_to_seconds(stop_counter - _start_counter); local
82 gclog_or_tty->print_cr(", %3.7f secs]", seconds);
84 gclog_or_tty->print(", %3.7f secs]", seconds);
/openjdk7/jdk/test/sun/net/InetAddress/nameservice/simple/
H A DDefaultCaching.java92 static void sleep (int seconds) { argument
94 Thread.sleep (seconds * 1000);
/openjdk7/jdk/src/share/classes/javax/net/ssl/
H A DSSLSessionContext.java82 * If the timeout limit is set to 't' seconds, a session exceeds the
83 * timeout limit 't' seconds after its creation time.
90 * @param seconds the new session timeout limit in seconds; zero means
96 public void setSessionTimeout(int seconds) argument
103 * If the timeout limit is set to 't' seconds, a session exceeds the
104 * timeout limit 't' seconds after its creation time.
112 * @return the session timeout limit in seconds; zero means there is no
/openjdk7/jdk/test/javax/sound/midi/Gervill/SoftChannel/
H A DSoftTestUtils.java87 public void read(double seconds) throws IOException argument
91 (int)(stream.getFormat().getFrameRate() * seconds);
/openjdk7/jdk/test/javax/sound/midi/Gervill/SoftReceiver/
H A DSoftTestUtils.java87 public void read(double seconds) throws IOException argument
91 (int)(stream.getFormat().getFrameRate() * seconds);
/openjdk7/jaxp/src/com/sun/org/apache/xerces/internal/jaxp/datatype/
H A DDurationDayTimeImpl.java62 BigDecimal seconds) {
64 super(isPositive, null, null, days, hours, minutes, seconds);
73 int seconds) {
80 (seconds != DatatypeConstants.FIELD_UNDEFINED ? new BigDecimal(String.valueOf(seconds)) : null));
168 float sec = (seconds==null)?0:seconds.floatValue();
179 seconds = seconds.subtract(BigDecimal.valueOf(60));
57 DurationDayTimeImpl( boolean isPositive, BigInteger days, BigInteger hours, BigInteger minutes, BigDecimal seconds) argument
68 DurationDayTimeImpl( boolean isPositive, int days, int hours, int minutes, int seconds) argument
H A DDatatypeFactoryImpl.java149 * specifying the <code>Duration</code> as isPositive, years, months, days, hours, minutes, seconds.</p>
163 * @param seconds of this <code>Duration</code>
172 * BigInteger hours, BigInteger minutes, BigDecimal seconds)
181 final BigDecimal seconds) {
190 seconds
174 newDuration( final boolean isPositive, final BigInteger years, final BigInteger months, final BigInteger days, final BigInteger hours, final BigInteger minutes, final BigDecimal seconds) argument
H A DDurationImpl.java45 * minutes, and seconds) plus a sign (+/-) field.</p>
49 * and the seconds field has a non-negative decimal or null.
187 protected BigDecimal seconds; field in class:DurationImpl
213 && (seconds == null || seconds.signum() == 0)) {
238 * @param seconds of this <code>Duration</code>
242 * seconds parameters are all <code>null</code>. Or if any
252 BigDecimal seconds) {
259 this.seconds = seconds;
245 DurationImpl( boolean isPositive, BigInteger years, BigInteger months, BigInteger days, BigInteger hours, BigInteger minutes, BigDecimal seconds) argument
327 DurationImpl( final boolean isPositive, final int years, final int months, final int days, final int hours, final int minutes, final int seconds) argument
[all...]
H A DXMLGregorianCalendarImpl.java677 * @param seconds of <code>dateTime</code>
695 int seconds,
705 seconds,
756 * @param seconds of <code>dateTime</code>
773 int seconds,
783 seconds,
829 * @param seconds number of seconds
843 int seconds,
852 seconds,
689 createDateTime( BigInteger year, int month, int day, int hours, int minutes, int seconds, BigDecimal fractionalSecond, int timezone) argument
767 createDateTime( int year, int month, int day, int hours, int minutes, int seconds, int milliseconds, int timezone) argument
840 createTime( int hours, int minutes, int seconds, int timezone) argument
874 createTime( int hours, int minutes, int seconds, BigDecimal fractionalSecond, int timezone) argument
909 createTime( int hours, int minutes, int seconds, int milliseconds, int timezone) argument
[all...]
/openjdk7/jdk/test/java/awt/Modal/LWModalTest/
H A DLWModalTest.java139 throw new RuntimeException("Timed out after " + sleepTime/1000 + " seconds");
154 public static synchronized void setTimeoutTo(int seconds) argument
156 sleepTime = seconds * 1000;
/openjdk7/jdk/src/share/classes/com/sun/media/sound/
H A DJDK13Services.java96 public static void setCachingPeriod(int seconds) { argument
97 cachingPeriod = seconds * 1000L;
/openjdk7/jdk/test/java/util/ResourceBundle/Control/
H A DExpirationTest.java40 // If -latency is specified, try sleeping for 3 seconds 3
66 // Wait until the instance gets expired in the cache in 7 seconds.
120 private static void sleep(int seconds) { argument
121 long millis = seconds * 1000;
147 return 5000; // 5 seconds
/openjdk7/jaxp/src/javax/xml/datatype/
H A DDatatypeFactory.java251 * specifying the <code>Duration</code> as isPositive, years, months, days, hours, minutes, seconds.</p>
267 * @param seconds of this <code>Duration</code>
283 final BigDecimal seconds);
287 * specifying the <code>Duration</code> as isPositive, years, months, days, hours, minutes, seconds.</p>
298 * @param seconds of this <code>Duration</code>
312 * BigDecimal seconds)
321 final int seconds) {
338 // seconds may not be set
339 BigDecimal realSeconds = (seconds != DatatypeConstants.FIELD_UNDEFINED) ? BigDecimal.valueOf((long) seconds)
276 newDuration( final boolean isPositive, final BigInteger years, final BigInteger months, final BigInteger days, final BigInteger hours, final BigInteger minutes, final BigDecimal seconds) argument
314 newDuration( final boolean isPositive, final int years, final int months, final int days, final int hours, final int minutes, final int seconds) argument
958 newXMLGregorianCalendarTime( final int hours, final int minutes, final int seconds, final int timezone) argument
996 newXMLGregorianCalendarTime( final int hours, final int minutes, final int seconds, final BigDecimal fractionalSecond, final int timezone) argument
1034 newXMLGregorianCalendarTime( final int hours, final int minutes, final int seconds, final int milliseconds, final int timezone) argument
[all...]
/openjdk7/corba/src/share/classes/javax/transaction/xa/
H A DXAResource.java130 * @return the transaction timeout value in seconds.
217 * @param seconds The transaction timeout value in seconds.
225 boolean setTransactionTimeout(int seconds) throws XAException; argument
/openjdk7/jdk/src/share/classes/java/sql/
H A DDriverManager.java367 * Sets the maximum time in seconds that a driver will wait
370 * @param seconds the login time limit in seconds; zero means there is no limit
373 public static void setLoginTimeout(int seconds) { argument
374 loginTimeout = seconds;
378 * Gets the maximum time in seconds that a driver can wait
381 * @return the driver login time limit in seconds
H A DStatement.java199 * Retrieves the number of seconds the driver will
204 * @return the current query timeout limit in seconds; zero means there is
213 * Sets the number of seconds the driver will wait for a
214 * <code>Statement</code> object to execute to the given number of seconds.
231 * @param seconds the new query timeout limit in seconds; zero means
235 * or the condition seconds >= 0 is not satisfied
238 void setQueryTimeout(int seconds) throws SQLException; argument
/openjdk7/hotspot/src/share/vm/runtime/
H A Dtimer.cpp66 double elapsedTimer::seconds() const { function in class:elapsedTimer
93 double TimeStamp::seconds() const { function in class:TimeStamp
149 tty->print_cr(", %3.7f secs]", _t.seconds());
/openjdk7/jdk/src/share/classes/sun/security/ssl/
H A DSSLSessionContextImpl.java51 private int timeout; // timeout in seconds
99 public void setSessionTimeout(int seconds) argument
101 if (seconds < 0) {
105 if (timeout != seconds) {
106 sessionCache.setTimeout(seconds);
107 sessionHostPortCache.setTimeout(seconds);
108 timeout = seconds;
/openjdk7/jdk/src/share/classes/java/util/
H A DDate.java59 * 24&nbsp;&times;&nbsp;60&nbsp;&times;&nbsp;60&nbsp;= 86400 seconds
64 * year 1995 was 61 seconds long, thanks to an added leap second.
77 * seconds are introduced as needed into UTC so as to keep UTC within
78 * 0.9 seconds of UT1, which is a version of UT with certain
82 * <i>not</i> adjusted for leap seconds. An interesting source of
95 * year, month, date, hours, minutes, and seconds values, the
109 * 61 occur only for leap seconds and even then only in Java
110 * implementations that actually track leap seconds correctly. Because
111 * of the manner in which leap seconds are currently introduced, it is
112 * extremely unlikely that two leap seconds wil
871 setSeconds(int seconds) argument
[all...]
/openjdk7/jdk/src/share/classes/sun/util/calendar/
H A DCalendarDate.java76 private int seconds; field in class:CalendarDate
259 return seconds;
262 public CalendarDate setSeconds(int seconds) { argument
263 if (this.seconds != seconds) {
264 this.seconds = seconds;
272 seconds += n;
319 public CalendarDate setTimeOfDay(int hours, int minutes, int seconds, int millis) { argument
322 setSeconds(seconds);
327 addTimeOfDay(int hours, int minutes, int seconds, int millis) argument
[all...]
H A DImmutableGregorianDate.java125 public CalendarDate setSeconds(int seconds) { argument
157 public CalendarDate setTimeOfDay(int hours, int minutes, int seconds, int millis) { argument
161 public CalendarDate addTimeOfDay(int hours, int minutes, int seconds, int millis) { argument
/openjdk7/jdk/src/solaris/demo/jvmti/hprof/
H A Dhprof_md.c81 md_sleep(unsigned seconds) argument
83 sleep(seconds);
234 /* Time of day in milli-seconds */
247 /* Hi-res timer in micro-seconds */
254 return (jlong)(gethrtime()/(hrtime_t)1000); /* Nano seconds to micro seconds */
258 /* Time of day in milli-seconds */
272 return (jlong)(gethrvtime()/1000); /* Nano seconds to milli seconds */
/openjdk7/jdk/src/windows/demo/jvmti/hprof/
H A Dhprof_md.c68 md_sleep(unsigned seconds) argument
70 Sleep((DWORD)seconds*1000);

Completed in 59 milliseconds

12