@XmlRootElement
public class DmaapTimestamp {
static final Logger logger = Logger.getLogger(DmaapTimestamp.class);
- private static Calendar cal = Calendar.getInstance();
+ private Calendar cal = Calendar.getInstance();
private Date stamp;
public DmaapTimestamp() {
stamp = cal.getTime();
- logger.info("constructor: set val to " + stamp);
}
public void mark() {
stamp = cal.getTime();
- logger.info("mark: set val to " + stamp);
}
public Date getVal() {