Class SolutionAccessStatistics
- java.lang.Object
-
- de.fraunhofer.iese.mydata.common.MyDataEntity
-
- de.fraunhofer.iese.mydata.solution.SolutionAccessStatistics
-
@Entity public class SolutionAccessStatistics extends MyDataEntity
Created by goetzingert on 03.04.17.
-
-
Constructor Summary
Constructors Constructor Description SolutionAccessStatistics()
SolutionAccessStatistics(SolutionId solutionId)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
block()
long
getCount(Date date)
long
getCurrentCount()
String
getCurrentDateString()
void
increment()
void
increment(long increment)
void
increment(Date date, long increment)
boolean
isBlocked()
void
setMaxCallsPerPeriode(long maxCallsPerPeriod)
void
unblock()
-
Methods inherited from class de.fraunhofer.iese.mydata.common.MyDataEntity
fromJson, getGson, getGson, toJson, toString, validate, validateAndNullCheck
-
-
-
-
Constructor Detail
-
SolutionAccessStatistics
public SolutionAccessStatistics()
-
SolutionAccessStatistics
public SolutionAccessStatistics(SolutionId solutionId)
-
-
Method Detail
-
setMaxCallsPerPeriode
public void setMaxCallsPerPeriode(long maxCallsPerPeriod)
-
getCurrentCount
public long getCurrentCount()
-
getCurrentDateString
public String getCurrentDateString()
-
getCount
public long getCount(Date date)
-
increment
public void increment()
-
increment
public void increment(long increment)
-
increment
public void increment(Date date, long increment)
-
isBlocked
public boolean isBlocked()
-
block
public void block()
-
unblock
public void unblock()
-
-