com.caucho.ejb
Annotation Type SessionPool


@Documented
@Retention(value=RUNTIME)
@Target(value=TYPE)
public @interface SessionPool

Configures the size of the session pool.


Optional Element Summary
 int maxConcurrent
          Maximum number of concurrent instances.
 long maxConcurrentTimeout
          Timeout for concurrent instances.
 int maxIdle
          Maximum number of idle instances.
 

maxIdle

public abstract int maxIdle
Maximum number of idle instances.

Default:
-1

maxConcurrent

public abstract int maxConcurrent
Maximum number of concurrent instances.

Default:
-1

maxConcurrentTimeout

public abstract long maxConcurrentTimeout
Timeout for concurrent instances.

Default:
-1L