|
|
|
|
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.torweg.pulse.util.entity.AbstractBasicEntity
org.torweg.pulse.component.statistics.model.StatisticsServer
@Entity public class StatisticsServer
represents a server to record statistics of.
| Constructor Summary | |
|---|---|
protected |
StatisticsServer()
Deprecated. |
|
StatisticsServer(java.lang.String hn)
creates a new StatisticsServer for the given hostName. |
|
StatisticsServer(java.lang.String hn,
java.lang.String sp)
creates a new StatisticsServer for the given host name and
the given path separator. |
| Method Summary | |
|---|---|
java.lang.String |
getHostName()
returns the hostName. |
TimeSpan |
getKeepPIRecordsFor()
Returns the TimeSpan, specifying how long the related
PIRecords are to be kept after the aggregation has been run. |
java.lang.String |
getPathSeparator()
returns the path separator. |
java.lang.String |
getStatisticsRoleName()
Returns the default Role name for the statistics-component. |
boolean |
isAllowProxy()
returns whether a proxy (e.g. a JSP or PHP script on the statistics server) may be used to transmit the page impression. |
void |
setAllowProxy(boolean ap)
sets whether a proxy (e.g. a JSP or PHP script on the statistics server) may be used to transmit the page impression. |
void |
setHostName(java.lang.String hn)
sets the hostName. |
void |
setKeepPIRecordsFor(TimeSpan span)
Sets the TimeSpan, specifying how long the related
PIRecords are to be kept after the aggregation has been run. |
void |
setPathSeparator(java.lang.String sp)
sets the path separator. |
java.lang.String |
toString()
|
| Methods inherited from class org.torweg.pulse.util.entity.AbstractBasicEntity |
|---|
compareTo, equals, getFullQualifiedClassNameJAXB, getId, hashCode |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
@Deprecated protected StatisticsServer()
public StatisticsServer(java.lang.String hn)
StatisticsServer for the given hostName.
hn - the hostName
java.lang.NullPointerException - if the hostName is null
java.lang.IllegalArgumentException - if the hostName is an empty string or contains
whitespace-characters only
public StatisticsServer(java.lang.String hn,
java.lang.String sp)
StatisticsServer for the given host name and
the given path separator.
hn - the hostNamesp - the pathSeparator
java.lang.NullPointerException - nullnulljava.lang.IllegalArgumentException - | Method Detail |
|---|
public final java.lang.String getHostName()
public final void setHostName(java.lang.String hn)
hn - the hostName to set
java.lang.NullPointerException - if the hostName is null
java.lang.IllegalArgumentException - if the hostName is an empty string or contains
whitespace-characters onlypublic final java.lang.String getPathSeparator()
public final void setPathSeparator(java.lang.String sp)
sp - the pathSeparator to set
java.lang.NullPointerException - if the pathSeparator is null
java.lang.IllegalArgumentException - if the pathSeparator is an empty string or contains
whitespace-characters onlypublic final boolean isAllowProxy()
true, if proxies are allowed. Otherwise
false.public final void setAllowProxy(boolean ap)
ap - true to allow proxies, otherwise
falsepublic final java.lang.String getStatisticsRoleName()
Role name for the statistics-component.
public final TimeSpan getKeepPIRecordsFor()
TimeSpan, specifying how long the related
PIRecords are to be kept after the aggregation has been run.
TimeSpan, or null if no
TimeSpan is setpublic final void setKeepPIRecordsFor(TimeSpan span)
TimeSpan, specifying how long the related
PIRecords are to be kept after the aggregation has been run.
span - the TimeSpan to setpublic final java.lang.String toString()
toString in class java.lang.ObjectPathTreeAggregation
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||