All Downloads are FREE. Search and download functionalities are using the official Maven repository.

net.anotheria.anoprise.sessiondistributor.events.SessionCleanUpEvent Maven / Gradle / Ivy

Go to download

Collection of utils for different enterprise class projects. Among other stuff contains Caches, Mocking, DualCrud, MetaFactory and SessionDistributorService. Visit https://opensource.anotheria.net for details.

There is a newer version: 4.0.0
Show newest version
package net.anotheria.anoprise.sessiondistributor.events;

import java.util.List;

/**
 * SessionCleanUpEvent.
 *
 * @author h3ll
 */

public class SessionCleanUpEvent extends SessionDistributorEvent {

	/**
	 * SerialVersionUID.
	 */
	private static final long serialVersionUID = 1L;
	/**
	 * SessionCleanUpEvent 'sessionIds'.
	 */
	private List sessionIds;

	/**
	 * Constructor.
	 *
	 * @param aSessionIds expired ids collection
	 */
	public SessionCleanUpEvent(List aSessionIds) {
		super(SessionDistributorESOperations.SESSION_CLEAN_UP);

		this.sessionIds = aSessionIds;
	}

	public List getSessionIds() {
		return sessionIds;
	}

	@Override
	public String toString() {
		return super.toString() +
				"sessionIds=" + sessionIds.size();
	}
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy