/glassfish-3.1.2/web/web-glue/src/main/java/com/sun/appserv/web/taglibs/cache/ |
H A D | CacheEntry.java | 56 * cached and the timeout after which the entry will expire 58 public CacheEntry(String response, int timeout) { argument 60 computeExpireTime(timeout); 81 * compute when this entry to be expired based on timeout relative to 83 * @param timeout in seconds 85 public void computeExpireTime(int timeout) { argument 86 // timeout is relative to current time 87 this.expireTime = (timeout == NO_TIMEOUT) ? timeout : 88 System.currentTimeMillis() + (timeout * 100 [all...] |
H A D | CacheTag.java | 55 * fragments. It lets you specify a timeout for how long the cached data 63 * refresh="<%= reload %>" timeout="3600"> 70 * Constants used to calculate the timeout 224 // and cache it for the specified timeout period 276 * specified, then the timeout is assumed to be in seconds. A 277 * different unit can be specified by postfixing the timeout 281 public void setTimeout(String timeout) { argument 282 if (timeout != null) { 284 _timeout = Integer.parseInt(timeout); 286 // nfe indicated that the timeout ha [all...] |
/glassfish-3.1.2/connectors/javax.resource/src/main/java/javax/resource/spi/work/ |
H A D | ExecutionContext.java | 81 * transaction timeout value. 100 * Set the transaction timeout value for a imported transaction. 102 * @param timeout transaction timeout value in seconds. Only positive 106 * @throws NotSupportedException thrown to indicate an illegal timeout 109 public void setTransactionTimeout(long timeout) argument 111 if (timeout > 0) { 112 this.transactionTimeout = timeout; 114 throw new NotSupportedException("Illegal timeout value"); 119 * Get the transaction timeout valu [all...] |
/glassfish-3.1.2/ejb/ejb-container/src/main/java/com/sun/ejb/ |
H A D | MethodLockInfo.java | 62 private long timeout = NO_TIMEOUT; field in class:MethodLockInfo 73 timeout = value; 86 return (timeout != NO_TIMEOUT); 90 return timeout; 98 return lockType + ":" + timeout + ":" + timeUnit;
|
/glassfish-3.1.2/web/web-glue/src/main/java/com/sun/appserv/web/cache/filter/ |
H A D | HttpCacheEntry.java | 74 int timeout; field in class:HttpCacheEntry 86 * compute when this entry to be expired based on timeout relative to 88 * @param timeout in seconds 90 public void computeExpireTime(int timeout) { argument 91 this.timeout = timeout; 93 // timeout is relative to current time 94 this.expireTime = (timeout == -1) ? timeout : 95 System.currentTimeMillis() + (timeout * 100 [all...] |
/glassfish-3.1.2/admingui/devtests/src/test/java/org/glassfish/admingui/devtests/ |
H A D | ConnectorServiceTest.java | 65 final String timeout = Integer.toString(generateRandomNumber(120)); 67 setFieldValue("propertyForm:propertySheet:propertSectionTextField:timeout:tiimeout", timeout); 72 assertEquals(timeout, getFieldValue("propertyForm:propertySheet:propertSectionTextField:timeout:tiimeout"));
|
H A D | TransactionServiceTest.java | 59 final String timeout = Integer.toString(generateRandomNumber(60)); 65 setFieldValue("propertyForm:propertySheet:propertSectionTextField:timeoutProp:Timeout", timeout); 79 assertEquals(timeout, getFieldValue("propertyForm:propertySheet:propertSectionTextField:timeoutProp:Timeout"));
|
H A D | ElementFinder.java | 64 public WebElement findElement(By locatorname, int timeout) { argument 65 WebDriverWait wait = new WebDriverWait(driver, timeout); 69 public WebElement findElement(By locator, int timeout, ExpectedCondition<Boolean> condition) { argument 70 WebDriverWait w = new WebDriverWait(driver, timeout);
|
H A D | EjbContainerTest.java | 57 final String timeout = Integer.toString(generateRandomNumber(600)); 64 setFieldValue("form1:propertySheet:poolSettingSection:TimeoutProp:Timeout", timeout); 75 assertEquals(timeout, getFieldValue("form1:propertySheet:poolSettingSection:TimeoutProp:Timeout")); 84 final String timeout = Integer.toString(generateRandomNumber(600)); 92 setFieldValue("form1:propertySheet:propertySectionTextField:TimeoutProp:Timeout", timeout); 106 assertEquals(timeout, getFieldValue("form1:propertySheet:propertySectionTextField:TimeoutProp:Timeout"));
|
/glassfish-3.1.2/persistence/cmp/internal-api/src/main/java/com/sun/jdo/api/persistence/support/ |
H A D | Transaction.java | 151 * @param timeout new timout value in seconds; zero means unlimited 153 void setQueryTimeout (int timeout); argument 165 * @param timeout new timout value in seconds; zero means unlimited 167 void setUpdateTimeout (int timeout); argument
|
/glassfish-3.1.2/ejb/ejb-container/src/main/java/com/sun/ejb/containers/ |
H A D | EJBTimerTask.java | 65 EJBTimerTask(Date timeout, TimerPrimaryKey timerId, argument 68 timeout_ = timeout;
|
/glassfish-3.1.2/ejb/ejb-container/src/main/java/com/sun/ejb/containers/util/cache/ |
H A D | PassivatedSessionCache.java | 55 * constructor with specified timeout 57 public PassivatedSessionCache(long timeout) { argument 58 super(timeout);
|
H A D | EJBObjectCache.java | 61 long timeout, float loadFactor, java.util.Properties props); 60 init(int maxEntries, int numberOfVictimsToSelect, long timeout, float loadFactor, java.util.Properties props) argument
|
/glassfish-3.1.2/common/glassfish-api/src/main/java/org/glassfish/api/admin/ |
H A D | AdminCommandLock.java | 147 int timeout = 30; 168 * safe) - otherwise we set the timeout and try to get the lock. 172 timeout = -1; 179 timeout = Integer.parseInt(timeout_s); 180 if (timeout < 0) 190 timeout = 30; 197 if (lock.tryLock(timeout, TimeUnit.SECONDS)) { 201 * A timeout < 0 indicates the domain was likely already 205 if (timeout >= 0) 207 "timeout acquirin 314 suspendCommands( long timeout, String lockOwner) argument 331 suspendCommands( long timeout, String lockOwner, String message) argument 469 private long timeout; field in class:AdminCommandLock.SuspendCommandsLockThread 473 SuspendCommandsLockThread(long timeout, BlockingQueue<SuspendStatus> suspendStatusQ, String lockOwner, String message) argument [all...] |
/glassfish-3.1.2/connectors/javax.resource/src/main/java/javax/resource/spi/endpoint/ |
H A D | MessageEndpointFactory.java | 80 * @param timeout an optional value used to specify the time duration 93 MessageEndpoint createEndpoint(XAResource xaResource, long timeout) argument
|
/glassfish-3.1.2/transaction/internal-api/src/main/java/com/sun/enterprise/transaction/api/ |
H A D | TransactionImport.java | 61 public void recreate(Xid xid, long timeout); argument 84 * Return duration before current transaction would timeout. 87 * timeout. 88 * Returns zero if transaction has no timeout set and returns
|
/glassfish-3.1.2/core/kernel/src/main/java/com/sun/enterprise/v3/services/impl/monitor/ |
H A D | MonitorableKeepAliveStats.java | 86 public void setKeepAliveTimeoutInSeconds(int timeout) { argument 87 super.setKeepAliveTimeoutInSeconds(timeout); 88 grizzlyMonitoring.getKeepAliveProbeProvider().setTimeoutInSecondsEvent(monitoringId, timeout);
|
/glassfish-3.1.2/web/web-glue/src/main/java/com/sun/appserv/web/cache/mapping/ |
H A D | CacheMapping.java | 46 * url-pattern, a timeout, allowed methods, a set of key fields to be used to 55 // timeout specified value or via Field 56 private int timeout = CacheHelper.TIMEOUT_VALUE_NOT_SET; field in class:CacheMapping 100 /** set the timeout 101 * @param timeout specific timeout of the cacheable entries 103 public void setTimeout(int timeout) { argument 104 this.timeout = timeout; 107 /** set the timeout fiel [all...] |
/glassfish-3.1.2/verifier/verifier-impl/src/main/java/com/sun/enterprise/tools/verifier/tests/web/runtime/ |
H A D | ASCache.java | 68 String timeout=null; 79 timeout = cache.getAttributeValue(Cache.TIMEOUT_IN_SECONDS); 139 if(timeout != null && timeout.length() != 0 ) // check timeout.length() != 0 because is IMPLIED att 141 longTimeout=Long.parseLong(timeout); 158 "PASSED [AS-WEB cache] timeout-in-seconds [ {0} ] defined properly.", 159 new Object[] {timeout})); 166 "FAILED [AS-WEB cache] timeout-in-seconds value [ {0} ], attribute must be a proper long value. " + 168 new Object[] {timeout})); [all...] |
/glassfish-3.1.2/load-balancer/admin/src/main/java/org/glassfish/loadbalancer/admin/cli/ |
H A D | DisableHTTPLBApplicationCommand.java | 78 String timeout; field in class:DisableHTTPLBApplicationCommand 114 updateLbEnabledForApp(name, target, timeout); 128 final String target, final String timeout) throws TransactionFailure { 144 ((ApplicationRef)appRef_w).setDisableTimeoutInMinutes(timeout); 157 ((ApplicationRef)appRef_w).setDisableTimeoutInMinutes(timeout); 169 ((ApplicationRef)appRef_w).setDisableTimeoutInMinutes(timeout); 127 updateLbEnabledForApp(final String appName, final String target, final String timeout) argument
|
H A D | DisableHTTPLBServerCommand.java | 77 String timeout; field in class:DisableHTTPLBServerCommand 96 int t = Integer.parseInt(timeout); 98 String msg = localStrings.getLocalString("InvalidTimeout", "Invalid timeout {0}", 99 timeout); 107 updateLBForCluster(report, target, "false", timeout); 128 updateLbEnabled(sRef, "false", timeout); 162 updateLbEnabled(sRef, "false", timeout);
|
/glassfish-3.1.2/ejb/javax.ejb/src/main/java/javax/ejb/ |
H A D | AsyncResult.java | 103 public V get(long timeout, TimeUnit unit) argument
|
/glassfish-3.1.2/tests/embedded/maven-plugin/localejbs/src/main/java/org/glassfish/tests/embedded/localejbs/ |
H A D | TimerEjb.java | 64 private void timeout(Timer t) { method in class:TimerEjb 65 System.err.println("in SimpleEjb: timeout " + t.getInfo());
|
/glassfish-3.1.2/tests/embedded/maven-plugin/remoteejbs/src/main/java/org/glassfish/tests/embedded/remoteejbs/ |
H A D | TimerEjb.java | 64 private void timeout(Timer t) { method in class:TimerEjb 65 System.err.println("in SimpleEjb: timeout " + t.getInfo());
|
/glassfish-3.1.2/web/web-core/src/main/java/org/apache/catalina/ |
H A D | CometEvent.java | 161 * Sets the timeout for this Comet connection. Please NOTE, that the implementation 162 * of a per connection timeout is OPTIONAL and MAY NOT be implemented.<br/> 163 * This method sets the timeout in milliseconds of idle time on the connection. 164 * The timeout is reset every time data is received from the connection or data is flushed 165 * using <code>response.flushBuffer()</code>. If a timeout occurs, the 167 * web application SHOULD NOT attempt to reuse the request and response objects after a timeout 171 * @param timeout The timeout in milliseconds for this connection, must be a positive value, larger than 0 176 * @throws UnsupportedOperationException if per connection timeout is not supported, either at all or at this phase 179 public void setTimeout(int timeout) argument [all...] |