|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectedu.internet2.middleware.ldappc.util.SubjectCache
public class SubjectCache
Cache subjects retrieved from subject sources to help with performance issues.
| Constructor Summary | |
|---|---|
SubjectCache(Ldappc ldappc)
|
|
| Method Summary | |
|---|---|
Set<Name> |
findSubjectDn(edu.internet2.middleware.grouper.Member member)
Returns the member's DN. |
String |
getSubjectData(edu.internet2.middleware.subject.Subject subject)
Returns subject data string without attributes. |
String |
getSubjectData(edu.internet2.middleware.subject.Subject subject,
boolean attributes)
Returns subject data string. |
int |
getSubjectIdLookups()
Return the count of subject ID lookups. |
int |
getSubjectIdTableHits()
Return the count of subject ID table hits. |
void |
init()
Initialize, or clear, the cache. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SubjectCache(Ldappc ldappc)
| Method Detail |
|---|
public int getSubjectIdLookups()
public int getSubjectIdTableHits()
public String getSubjectData(edu.internet2.middleware.subject.Subject subject)
subject - Subject
public String getSubjectData(edu.internet2.middleware.subject.Subject subject,
boolean attributes)
subject - Subjectattributes - include attribute values
public Set<Name> findSubjectDn(edu.internet2.middleware.grouper.Member member)
throws NamingException,
LdappcException
member - the member
NamingException - if an ldap error occurs
LdappcException - if there is a configuration error or if exactly one DN cannot be determinedpublic void init()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||