Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
  package org.eclipse.jetty.nosql.kvs.session;
  
  import java.util.Map;
  
  public interface ISerializableSession {

Returns:
string form of id
 
 	public String getId();

Parameters:
id string form of id
 
 	public void setId(String id);

Returns:
creation time
 
 	public long getCreationTime();

Parameters:
created creation time
 
 	public void setCreationTime(long created);

Returns:
last accessed time
 
 	public long getAccessed();

Parameters:
accessed last accessed time
 
 	public void setAccessed(long accessed);

Returns:
attributes
 
 	public Map<StringObjectgetAttributeMap();

Parameters:
attributes
 
 	public void setAttributeMap(Map<StringObjectattributes);

Parameters:
key of attribute
Returns:
attribute value
 
 	public Object getAttribute(String key);

Parameters:
key key of attribute
obj attribute value
 
 	public void setAttribute(String keyObject obj);

Parameters:
key of attribute
 
 	public void removeAttribute(String key);

Returns:
enumeration of attribute names
 

Returns:
true if session is valid
 
 	public boolean isValid();

Parameters:
valid set true for valid sessions
 
 	public void setValid(boolean valid);

Returns:
invalidated time
 
 	public long getInvalidated();

Returns:
version
	public long getVersion();

Parameters:
version
	public void setVersion(long version);

Returns:
domain which the session was bound for
	public String getDomain();

Parameters:
domain which the session was bound for
	public void setDomain(String domain);

Returns:
path which the session was bound for
	public String getPath();

Parameters:
path which the session was bound for
	public void setPath(String path);
New to GrepCode? Check out our FAQ X