org.ow2.carol.cmi.annotation
Annotation Type Cluster
@Documented
@Target(value=TYPE)
@Retention(value=RUNTIME)
public @interface Cluster
Indicates that instances of the annotated class are intended to be replicated in a cluster.
To specify the way to access to these instances,
the annotations LBPolicy, LBStrategy and LBProperties must be used.
- Author:
- The new CMI team
|
Required Element Summary |
java.lang.String |
name
|
name
public abstract java.lang.String name
- Returns:
- a name of cluster
minPoolSize
public abstract int minPoolSize
- Returns:
- a minimal size for the pool of CMIReferenceable
- Default:
- -1
maxPoolSize
public abstract int maxPoolSize
- Returns:
- a maximal size for the pool of CMIReferenceable
- Default:
- -1
Copyright © 2007 OW2 Consortium. All Rights Reserved.