|
BEA Systems, Inc. | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
A T3ResourceDef defines scarce resource allocation within the WebLogic Server.
T3ResourceFactory
Field Summary | |
static int |
CAPACITY
Maximum number of resources that can be reserved. |
static int |
CAPACITYINCREMENT
Number by which the size of resource allocation is incremented. |
static int |
CREATED
Total number of resources recycled during this session. |
static int |
CURRENTINUSE
Total number of resources currently in use. |
static int |
ENABLED
Is this pool enabled for use? |
static int |
INITIALCAPACITY
Initial number of resources that should be reserved. |
static int |
LASTUSAGE
The last snapshot taken of resources in-use. |
static int |
POOLUSEHIST
The last snapshot taken of resources in-use, as needed by the console for strip chart construction. |
static int |
RECYCLED
Total number of resources recycled during this session. |
static int |
RELEASED
Total number of resources released during this session. |
static int |
REQUESTED
Total number of resources requested during this session. |
static int |
RUNNINGAVERAGE
Running average of resources in-use. |
static int |
SIZE
Number of resources currently reserved. |
Method Summary | |
int |
getInfo(int infoItem)
Gets information about the resource allocator. |
void |
refreshResources()
Refreshes all the resources presently allocated. |
void |
release(java.lang.Object o)
Releases a reserved resource. |
java.lang.Object |
reserve(java.security.Principal user)
Reserves a resource with permission check on behalf of the specified user. |
java.lang.Object |
reserveNoWait(java.security.Principal user)
Reserves a resource with permission check on behalf of the specified user. |
java.lang.Object |
reserveWaitSecs(java.security.Principal user,
int waitSecs)
Reserves a resource with permission check on behalf of the specified user. |
void |
setResourceFactory(T3ResourceFactory rf)
Sets the factory to be used for obtaining new resources. |
Field Detail |
public static final int SIZE
public static final int INITIALCAPACITY
public static final int CAPACITY
public static final int CAPACITYINCREMENT
public static final int REQUESTED
public static final int RELEASED
public static final int CURRENTINUSE
public static final int CREATED
public static final int RECYCLED
public static final int RUNNINGAVERAGE
public static final int LASTUSAGE
public static final int POOLUSEHIST
public static final int ENABLED
Method Detail |
public java.lang.Object reserve(java.security.Principal user) throws ResourceException
user
- Principal objectpublic java.lang.Object reserveNoWait(java.security.Principal user) throws ResourceException
user
- Principal objectpublic java.lang.Object reserveWaitSecs(java.security.Principal user, int waitSecs) throws ResourceException
user
- Principal objectwaitSecs
- Seconds to wait for resourcepublic void release(java.lang.Object o)
o
- Object that was previously reservedpublic void setResourceFactory(T3ResourceFactory rf) throws ResourceException
rf
- Resource factory that allocates objectspublic int getInfo(int infoItem)
infoItem
- One of the final static ints in this classpublic void refreshResources() throws ResourceException
|
Documentation is available at http://e-docs.bea.com/wls/docs61 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |