container/activities/src/main/java/org/mobicents/slee/runtime/activity/ActivityContextImpl.java
private void updateLastAccessTime(boolean creation) {
		if (creation) {
			cacheData.putObject(NODE_MAP_KEY_LAST_ACCESS,
					Long.valueOf(System.currentTimeMillis()));
		} else {
			ActivityManagementConfiguration configuration = factory
					.getConfiguration();
			Long lastUpdate = (Long) cacheData
					.getObject(NODE_MAP_KEY_LAST_ACCESS);
			if (lastUpdate != null) {
				final long now = System.currentTimeMillis();
				if ((now - configuration.getMinTimeBetweenUpdatesInMs()) > lastUpdate
						.longValue()) {
					// last update
					if (logger.isTraceEnabled()) {
						logger.trace("Updating access time for AC with handle "
								+ getActivityContextHandle());
					}
					cacheData.putObject(NODE_MAP_KEY_LAST_ACCESS,
							Long.valueOf(now));
				} else {
					if (logger.isDebugEnabled()) {
						logger.debug("Skipping update of access time for AC with handle "
								+ getActivityContextHandle());
					}
				}
			} else {
				cacheData.putObject(NODE_MAP_KEY_LAST_ACCESS,
						Long.valueOf(System.currentTimeMillis()));
				if (logger.isTraceEnabled()) {
					logger.trace("Updating access time for AC with handle "
							+ getActivityContextHandle());
				}
			}
		}
	}
private void updateLastAccessTime(boolean creation) {
		if (creation) {
			cacheData.putObject(NODE_MAP_KEY_LAST_ACCESS,
					Long.valueOf(System.currentTimeMillis()));
		} else {
			ActivityManagementConfiguration configuration = factory
					.getConfiguration();
			Long lastUpdate = (Long) cacheData
					.getObject(NODE_MAP_KEY_LAST_ACCESS);
			if (lastUpdate != null) {
				final long now = System.currentTimeMillis();
				if ((now - configuration.getMinTimeBetweenUpdatesInMs()) > lastUpdate
						.longValue()) {
					// last update
					if (logger.isTraceEnabled()) {
						logger.trace("Updating access time for AC with handle "
								+ getActivityContextHandle());
					}
					cacheData.putObject(NODE_MAP_KEY_LAST_ACCESS,
							Long.valueOf(now));
				} else {
					if (logger.isDebugEnabled()) {
						logger.debug("Skipping update of access time for AC with handle "
								+ getActivityContextHandle());
					}
				}
			} else {
				cacheData.putObject(NODE_MAP_KEY_LAST_ACCESS,
						Long.valueOf(System.currentTimeMillis()));
				if (logger.isTraceEnabled()) {
					logger.trace("Updating access time for AC with handle "
							+ getActivityContextHandle());
				}
			}
		}
	}
--- private helpers