[Logo] Terracotta Discussion Forums (LEGACY READ-ONLY ARCHIVE)
  [Search] Search   [Recent Topics] Recent Topics   [Members]  Member Listing   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
[Expert]
about session  XML
Forum Index -> Terracotta 中文社区
Author Message
bf2624

neo

Joined: 02/27/2013 01:40:12
Messages: 3
Offline

i want to get a session object from terracotta use session id, or get all session, How do I do?
rajoshi

seraphim

Joined: 07/04/2011 04:36:10
Messages: 1491
Offline

You can get an existing session using "getSession(String clusterId)" of TerracottaSessionManager class.

Parameters:
clusterId - The session ID in the cluster, stripped of any worker name.
Returns:
A Session or null if none exists.

Rakesh Joshi
Senior Consultant
Terracotta.
bf2624

neo

Joined: 02/27/2013 01:40:12
Messages: 3
Offline

rajoshi wrote:
You can get an existing session using "getSession(String clusterId)" of TerracottaSessionManager class.

Parameters:
clusterId - The session ID in the cluster, stripped of any worker name.
Returns:
A Session or null if none exists. 


To Rakesh Joshi

Thanks for your help, i'll try it later.
bf2624

neo

Joined: 02/27/2013 01:40:12
Messages: 3
Offline

e.... where is the TerracottaSessionManager class.. i can't find it in jars.
 
Forum Index -> Terracotta 中文社区
Go to:   
Powered by JForum 2.1.7 © JForum Team