|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.solidstategroup.sitetracker.processor.SiteProcessor
public class SiteProcessor
The SiteProcessor processes all unprocessed page visits within the Replay database.
| Field Summary | |
|---|---|
static java.lang.String |
SQL_COLUMN_TOTAL
|
static java.lang.String |
SQL_RECORDS_LEFT
|
| Constructor Summary | |
|---|---|
SiteProcessor(java.sql.Connection connection)
|
|
| Method Summary | |
|---|---|
boolean |
clearAllStatistics()
Dunno why this is here? |
int |
getProcessBatchSize()
|
static void |
logPageView(PageVisit pageVisit)
This should log the actually view, If the processor is running it will be stored in an array and then logged after the processor has ran |
static void |
main(java.lang.String[] args)
Allows the SiteProcessor to be executed from the command line. |
int |
process()
Processes all unprocessed page visits. |
boolean |
resetAllStatistics()
|
boolean |
resetStatistics(java.util.Date from,
java.util.Date to)
|
void |
setProcessBatchSize(int processBatchSize)
|
static java.lang.String |
stripOutParameter(java.lang.String url,
java.lang.String param)
pulls a parameter out of the request |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String SQL_COLUMN_TOTAL
public static final java.lang.String SQL_RECORDS_LEFT
| Constructor Detail |
|---|
public SiteProcessor(java.sql.Connection connection)
| Method Detail |
|---|
public static void main(java.lang.String[] args)
args - public int process()
public int getProcessBatchSize()
public void setProcessBatchSize(int processBatchSize)
public static java.lang.String stripOutParameter(java.lang.String url,
java.lang.String param)
url - param -
public boolean resetAllStatistics()
public boolean resetStatistics(java.util.Date from,
java.util.Date to)
public boolean clearAllStatistics()
public static void logPageView(PageVisit pageVisit)
pageVisit -
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||