C# Class Apache.Shiro.Session.Management.Enterprise.CachingSessionDao

Inheritance: ICacheManagerAware, ISessionDao
Datei anzeigen Open project: katasource/shironet

Public Properties

Property Type Description
ActiveSessionCacheName string

Public Methods

Method Description
CachingSessionDao ( ) : System
Create ( ISession session ) : object
Delete ( ISession session ) : void
GetActiveSessions ( ) : ICollection
Read ( object sessionId ) : ISession
Update ( ISession session ) : void

Protected Methods

Method Description
Cache ( ISession session, object sessionId, ICache cache ) : void
CacheValidSession ( ISession session, object sessionId ) : void
CreateActiveSessionsCache ( ) : ICache
DoCreate ( ISession session ) : object
DoDelete ( ISession session ) : void
DoRead ( object sessionId ) : ISession
DoUpdate ( ISession session ) : void
EnsureUncached ( object sessionId ) : void
GetActiveSessionsCacheLazy ( ) : ICache
GetCachedSession ( object sessionId ) : ISession
GetCachedSession ( object sessionId, ICache cache ) : ISession
Uncache ( ISession session ) : void
VerifySessionId ( object sessionId ) : void

Method Details

Cache() protected method

protected Cache ( ISession session, object sessionId, ICache cache ) : void
session ISession
sessionId object
cache ICache
return void

CacheValidSession() protected method

protected CacheValidSession ( ISession session, object sessionId ) : void
session ISession
sessionId object
return void

CachingSessionDao() public method

public CachingSessionDao ( ) : System
return System

Create() public method

public Create ( ISession session ) : object
session ISession
return object

CreateActiveSessionsCache() protected method

protected CreateActiveSessionsCache ( ) : ICache
return ICache

Delete() public method

public Delete ( ISession session ) : void
session ISession
return void

DoCreate() protected abstract method

protected abstract DoCreate ( ISession session ) : object
session ISession
return object

DoDelete() protected abstract method

protected abstract DoDelete ( ISession session ) : void
session ISession
return void

DoRead() protected abstract method

protected abstract DoRead ( object sessionId ) : ISession
sessionId object
return ISession

DoUpdate() protected abstract method

protected abstract DoUpdate ( ISession session ) : void
session ISession
return void

EnsureUncached() protected method

protected EnsureUncached ( object sessionId ) : void
sessionId object
return void

GetActiveSessions() public method

public GetActiveSessions ( ) : ICollection
return ICollection

GetActiveSessionsCacheLazy() protected method

protected GetActiveSessionsCacheLazy ( ) : ICache
return ICache

GetCachedSession() protected method

protected GetCachedSession ( object sessionId ) : ISession
sessionId object
return ISession

GetCachedSession() protected method

protected GetCachedSession ( object sessionId, ICache cache ) : ISession
sessionId object
cache ICache
return ISession

Read() public method

public Read ( object sessionId ) : ISession
sessionId object
return ISession

Uncache() protected method

protected Uncache ( ISession session ) : void
session ISession
return void

Update() public method

public Update ( ISession session ) : void
session ISession
return void

VerifySessionId() protected method

protected VerifySessionId ( object sessionId ) : void
sessionId object
return void

Property Details

ActiveSessionCacheName public_oe static_oe property

public static string ActiveSessionCacheName
return string