} else if (action.equalsIgnoreCase("countFlushTokens")) {
PersistenceManager pm = PMF.get().getPersistenceManager();
try {
Calendar cal = Calendar.getInstance();
cal.add(Calendar.HOUR, -6);
Query query = pm.newQuery(AuthenticationToken.class);
query.setFilter("activity < activityParam");
query.declareImports("import java.util.Date");
query.declareParameters("Date activityParam");
List<AuthenticationToken> objs = (List<AuthenticationToken>) query.execute(cal.getTime());
int c = objs.size();