|
JSCAPE MFT Server | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.jscape.inet.mft.audit.reporting.metricses.TopUsers
public class TopUsers
Top users statistics.
Nested Class Summary | |
---|---|
static interface |
TopUsers.Visitor
|
Nested classes/interfaces inherited from interface com.jscape.util.Visitable |
---|
com.jscape.util.Visitable.VisitorBase, com.jscape.util.Visitable.VisitorException |
Constructor Summary | |
---|---|
TopUsers()
|
Method Summary | |
---|---|
java.lang.Object |
accept(TopUsers.Visitor visitor)
Backwards dispatching entry point. |
TopUsers |
copy()
|
NamedEntry[] |
getEntries()
|
long |
getSessionCount(java.lang.String username)
Returns sessions count for the specified username. |
java.lang.String[] |
getUsernames()
Returns usernames. |
void |
reset()
Resets metrics data. |
void |
setEntries(NamedEntry[] value)
|
java.lang.String |
toString()
|
void |
update(Report report,
com.jscape.inet.mft.LogRecord record)
Updates metrics with log record. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public TopUsers()
Method Detail |
---|
public void update(Report report, com.jscape.inet.mft.LogRecord record)
Metrics
update
in interface Metrics<TopUsers.Visitor>
report
- report instancerecord
- log recordpublic void reset()
Metrics
reset
in interface Metrics<TopUsers.Visitor>
public TopUsers copy()
copy
in interface com.jscape.util.Copyable<Metrics>
public java.lang.Object accept(TopUsers.Visitor visitor) throws com.jscape.util.Visitable.VisitorException
com.jscape.util.Visitable
accept
in interface com.jscape.util.Visitable<TopUsers.Visitor>
visitor
- a visitor instance
com.jscape.util.Visitable.VisitorException
- if an error occurspublic NamedEntry[] getEntries()
public void setEntries(NamedEntry[] value)
public java.lang.String[] getUsernames()
public long getSessionCount(java.lang.String username)
username
- target username
public java.lang.String toString()
toString
in class java.lang.Object
|
JSCAPE MFT Server | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |