Top Description Fields Constructors Methods
org.eclipse.jetty.session

public abstract Class AbstractSessionCacheFactory

extends Object
implements SessionCacheFactory
Class Inheritance
All Implemented Interfaces
org.eclipse.jetty.session.SessionCacheFactory
Known Direct Subclasses
org.eclipse.jetty.session.DefaultSessionCacheFactory, org.eclipse.jetty.session.NullSessionCacheFactory

AbstractSessionCacheFactory Base class for SessionCacheFactories.

Field Summary

Modifier and TypeField and Description
pack-priv int
pack-priv boolean
pack-priv boolean
pack-priv boolean
pack-priv boolean
pack-priv boolean

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public int

Returns:

the evictionPolicy
getEvictionPolicy
()

Get the evictionPolicy.

public SessionCache
public boolean

Returns:

the flushOnResponseCommit
isFlushOnResponseCommit
()

public boolean
public boolean

Returns:

the removeUnloadableSessions
isRemoveUnloadableSessions
()

public boolean

Returns:

the saveOnCreate
isSaveOnCreate
()

public boolean

Returns:

the saveOnInactiveEvict
isSaveOnInactiveEviction
()

public abstract SessionCache
public void
setEvictionPolicy(int
the evictionPolicy to set
evictionPolicy
)

Set the evictionPolicy to set.

public void
setFlushOnResponseCommit(boolean
the flushOnResponseCommit to set
flushOnResponseCommit
)

Set the flushOnResponseCommit to set.

public void
setInvalidateOnShutdown(boolean invalidateOnShutdown)

public void
setRemoveUnloadableSessions(boolean
the removeUnloadableSessions to set
removeUnloadableSessions
)

Set the removeUnloadableSessions to set.

public void
setSaveOnCreate(boolean
the saveOnCreate to set
saveOnCreate
)

Set the saveOnCreate to set.

public void
setSaveOnInactiveEviction(boolean
the saveOnInactiveEvict to set
saveOnInactiveEvict
)

Set the saveOnInactiveEvict to set.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

_evictionPolicyback to summary
pack-priv int _evictionPolicy
_flushOnResponseCommitback to summary
pack-priv boolean _flushOnResponseCommit
_invalidateOnShutdownback to summary
pack-priv boolean _invalidateOnShutdown
_removeUnloadableSessionsback to summary
pack-priv boolean _removeUnloadableSessions
_saveOnCreateback to summary
pack-priv boolean _saveOnCreate
_saveOnInactiveEvictback to summary
pack-priv boolean _saveOnInactiveEvict

Constructor Detail

AbstractSessionCacheFactoryback to summary
public AbstractSessionCacheFactory()

Method Detail

getEvictionPolicyback to summary
public int getEvictionPolicy()

Get the evictionPolicy.

Returns:int

the evictionPolicy

getSessionCacheback to summary
public SessionCache getSessionCache(SessionManager manager)

Implements org.eclipse.jetty.session.SessionCacheFactory.getSessionCache.

Annotations
@Override
isFlushOnResponseCommitback to summary
public boolean isFlushOnResponseCommit()
Returns:boolean

the flushOnResponseCommit

isInvalidateOnShutdownback to summary
public boolean isInvalidateOnShutdown()
isRemoveUnloadableSessionsback to summary
public boolean isRemoveUnloadableSessions()
Returns:boolean

the removeUnloadableSessions

isSaveOnCreateback to summary
public boolean isSaveOnCreate()
Returns:boolean

the saveOnCreate

isSaveOnInactiveEvictionback to summary
public boolean isSaveOnInactiveEviction()
Returns:boolean

the saveOnInactiveEvict

newSessionCacheback to summary
public abstract SessionCache newSessionCache(SessionManager manager)
setEvictionPolicyback to summary
public void setEvictionPolicy(int evictionPolicy)

Set the evictionPolicy to set.

Parameters
evictionPolicy:int

the evictionPolicy to set

setFlushOnResponseCommitback to summary
public void setFlushOnResponseCommit(boolean flushOnResponseCommit)

Set the flushOnResponseCommit to set.

Parameters
flushOnResponseCommit:boolean

the flushOnResponseCommit to set

setInvalidateOnShutdownback to summary
public void setInvalidateOnShutdown(boolean invalidateOnShutdown)
setRemoveUnloadableSessionsback to summary
public void setRemoveUnloadableSessions(boolean removeUnloadableSessions)

Set the removeUnloadableSessions to set.

Parameters
removeUnloadableSessions:boolean

the removeUnloadableSessions to set

setSaveOnCreateback to summary
public void setSaveOnCreate(boolean saveOnCreate)

Set the saveOnCreate to set.

Parameters
saveOnCreate:boolean

the saveOnCreate to set

setSaveOnInactiveEvictionback to summary
public void setSaveOnInactiveEviction(boolean saveOnInactiveEvict)

Set the saveOnInactiveEvict to set.

Parameters
saveOnInactiveEvict:boolean

the saveOnInactiveEvict to set