Searched defs:timeout (Results 1 - 25 of 83) sorted by relevance

1234

/glassfish-3.1.2/connectors/javax.resource/src/main/java/javax/resource/spi/endpoint/
H A DMessageEndpointFactory.java80 * @param timeout an optional value used to specify the time duration
93 MessageEndpoint createEndpoint(XAResource xaResource, long timeout) argument
/glassfish-3.1.2/core/kernel/src/main/java/com/sun/enterprise/v3/services/impl/
H A DGrizzlyUtils.java63 * @param timeout read timeout
67 public static int readToWorkerThreadBuffers(SelectionKey key, int timeout) throws IOException { argument
78 thread.getByteBuffer(), timeout).bytesRead;
H A DServiceInitializerHandler.java69 private long timeout = 60000; field in class:ServiceInitializerHandler
74 setSelectTimeout(timeout);
/glassfish-3.1.2/connectors/javax.resource/src/main/java/javax/resource/spi/work/
H A DExecutionContext.java81 * 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/containers/
H A DEJBTimerTask.java65 EJBTimerTask(Date timeout, TimerPrimaryKey timerId, argument
68 timeout_ = timeout;
H A DEjbAsyncInvocationManager.java277 RemoteAsyncResult remoteGetWithTimeout(Long asyncTaskID, Long timeout, TimeUnit unit) argument
284 " timeout=" + timeout + " , unit=" + unit + " : " +
293 result.resultValue = task.get(timeout, unit);
H A DEjbRemoteFutureTask.java122 // as initial call, except if get(timeout, unit) resulted in a
156 public V get(long timeout, TimeUnit unit) argument
160 // as initial call, except if get(timeout, unit) resulted in a
167 RemoteAsyncResult result = server.getWithTimeout(asyncId, timeout, unit.toString());
/glassfish-3.1.2/ejb/ejb-container/src/main/java/com/sun/ejb/containers/util/cache/
H A DPassivatedSessionCache.java55 * constructor with specified timeout
57 public PassivatedSessionCache(long timeout) { argument
58 super(timeout);
H A DEJBObjectCache.java61 long timeout, float loadFactor, java.util.Properties props);
60 init(int maxEntries, int numberOfVictimsToSelect, long timeout, float loadFactor, java.util.Properties props) argument
H A DUnboundedEJBObjectCache.java68 * constructor with specified timeout
70 public UnboundedEJBObjectCache(String name, long timeout) { argument
75 long timeout, float loadFactor, Properties props)
74 init(int maxEntries, int numberOfVictimsToSelect, long timeout, float loadFactor, Properties props) argument
/glassfish-3.1.2/ejb/javax.ejb/src/main/java/javax/ejb/
H A DAsyncResult.java103 public V get(long timeout, TimeUnit unit) argument
/glassfish-3.1.2/tests/embedded/ejb/basic/src/main/java/org/glassfish/tests/embedded/ejb/basic/
H A DTimerEjb.java68 private void timeout(Timer t) { method in class:TimerEjb
70 System.err.println("in SimpleEjb: timeout " + t.getInfo());
/glassfish-3.1.2/tests/embedded/ejb/remoteejb/src/main/java/org/glassfish/tests/embedded/ejb/remoteejb/
H A DTimerEjb.java68 private void timeout(Timer t) { method in class:TimerEjb
70 System.err.println("in SimpleEjb: timeout " + t.getInfo());
/glassfish-3.1.2/tests/embedded/maven-plugin/localejbs/src/main/java/org/glassfish/tests/embedded/localejbs/
H A DTimerEjb.java64 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 DTimerEjb.java64 private void timeout(Timer t) { method in class:TimerEjb
65 System.err.println("in SimpleEjb: timeout " + t.getInfo());
/glassfish-3.1.2/transaction/internal-api/src/main/java/com/sun/enterprise/transaction/api/
H A DTransactionImport.java61 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/admingui/devtests/src/test/java/org/glassfish/admingui/devtests/
H A DElementFinder.java64 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);
/glassfish-3.1.2/cluster/gms-adapter/src/main/java/org/glassfish/gms/admin/
H A DValidateMulticastCommand.java74 @Param(name="timeout", optional=true)
75 private String timeout; field in class:ValidateMulticastCommand
107 if (timeout != null && !timeout.isEmpty()) {
109 argList.add(timeout);
/glassfish-3.1.2/load-balancer/admin/src/main/java/org/glassfish/loadbalancer/admin/cli/
H A DDisableHTTPLBApplicationCommand.java78 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 DDisableHTTPLBServerCommand.java77 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/ejb-container/src/main/java/com/sun/ejb/
H A DMethodLockInfo.java62 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/taglibs/cache/
H A DCacheEntry.java56 * 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...]
/glassfish-3.1.2/admin/server-mgmt/src/main/java/com/sun/enterprise/admin/servermgmt/
H A DInstancesManager.java138 * Trys to stop the instance with the specified timeout.
142 public boolean stopInstanceWithinTime(int timeout) argument
/glassfish-3.1.2/core/kernel/src/main/java/com/sun/enterprise/v3/services/impl/monitor/
H A DMonitorableKeepAliveStats.java86 public void setKeepAliveTimeoutInSeconds(int timeout) { argument
87 super.setKeepAliveTimeoutInSeconds(timeout);
88 grizzlyMonitoring.getKeepAliveProbeProvider().setTimeoutInSecondsEvent(monitoringId, timeout);
/glassfish-3.1.2/transaction/jts/src/main/java/com/sun/jts/CosTransactions/
H A DXATerminatorImpl.java392 static private void recreate(Xid xid, int timeout) { argument
394 tim.recreate(xid, timeout);

Completed in 187 milliseconds

1234