|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object p2pcm.ComponentControl
public class ComponentControl
This class models any component's life cycle manager. It provides the necessary callbacks for component activation and passivation
Constructor Summary | |
---|---|
ComponentControl(ComponentInterface cmpInt,
long timeToPassivate,
int maxInvocations)
Constructor |
Method Summary | |
---|---|
void |
incInvocationNum()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ComponentControl(ComponentInterface cmpInt, long timeToPassivate, int maxInvocations)
cmpInt
- ComponentInterface Component's callback referencetimeToPassivate
- long Time for component's passivation if no invocations occurmaxInvocations
- int Per interval maximum number of invocations for component's new activation to occurMethod Detail |
---|
public void incInvocationNum()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |