|
Open SiteSearch 4.1.1 Final |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--ORG.oclc.jassi.UserHistory
The UserHistory class is an abstract class that maintains information about user actions within the system. UserHistory can be extended to provide user specific statistics information.
WebZUserHistory
Field Summary | |
int |
action
The type of action. |
protected static String[] |
defaultActions
Textual names for the actions are the offsets into the array that matches the action integer code. |
long |
endtime
End time of the action. |
String |
peerHostAddress
The user's Peer-Host address. |
static int |
SHUTDOWN
Shutdown of a user ( 1 ). |
static int |
START
New user ( 0 ). |
int |
status
The Status of the action. |
protected String |
threadId
String data type containing the threadId that the transaction was issued on. |
long |
timestamp
Start time of the action. |
Constructor Summary | |
UserHistory(int activity)
Constructs a UserHistory object using the input action type. |
Method Summary | |
int |
action()
Returns the type of action. |
abstract String |
decodeAction(int action)
Decodes the action using the input action integer value. |
long |
endtime()
Returns the end time. |
int |
status()
Returns the status of the action. |
String |
threadId()
Returns the threadId of for the history object. |
long |
timestamp()
Returns the start time. |
String |
toString()
Generate a String representation of this object. |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
Field Detail |
protected static final String[] defaultActions
public static final int START
0
).public static final int SHUTDOWN
1
).public int action
public long timestamp
public long endtime
public int status
public String peerHostAddress
protected String threadId
Constructor Detail |
public UserHistory(int activity)
Method Detail |
public abstract String decodeAction(int action)
action
- the interger value of the action.public int action()
public String threadId()
public long timestamp()
public int status()
public long endtime()
public String toString()
|
Open SiteSearch 4.1.1 Final |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |