|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectissrg.pba.rbac.CacheRulesWithTime
public class CacheRulesWithTime
This class stores AssignmentRule(s) associated with one issuer. Objects of this class will be stored in a cache which stores RARs (AssignmentRules) of issuers. Each object is associated with a timeout. When the timeout is reached, the object will be replaced.
| Constructor Summary | |
|---|---|
CacheRulesWithTime()
Creates a new instance of CacheRulesWithTime |
|
CacheRulesWithTime(java.util.Vector rules,
long time)
This is the constructor of the class. |
|
| Method Summary | |
|---|---|
java.util.Vector |
getRules()
This method returns the vector of rules of that issuer |
long |
getTime()
This method returns the timeout associated with the set of rules of the issuer |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CacheRulesWithTime()
public CacheRulesWithTime(java.util.Vector rules,
long time)
rules - is the vector of RARs (AssignmentRules) of one issuertime - is a long value indicates the timeout of the object| Method Detail |
|---|
public java.util.Vector getRules()
public long getTime()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||