• Views
  • Iteration Report
  • My Iteration Report
  •  
OMERO.server
  • Login
  • Help/Guide
  • About Trac
  • Preferences
  • Wiki
  • Timeline
  • Roadmap
  • Browse Source
  • View Tickets
  • Search

Context Navigation

  • ← Previous Change
  • Next Change →

Changeset 2592 for trunk/components/server/src/ome/services/sessions/SessionManager.java

Show
Ignore:
Timestamp:
07/05/08 22:16:04 (5 months ago)
Author:
jmoore
Message:

ticket:1018 - Initial version of OmeroSessions reference counting

Implementation is incomplete in the blitz case since there are two
possible "closers" - the user and the glacier session, which must
be taken into account.

Files:
1 modified

  • trunk/components/server/src/ome/services/sessions/SessionManager.java (modified) (1 diff)

Legend:

Unmodified
Added
Removed
  • trunk/components/server/src/ome/services/sessions/SessionManager.java

    r2274 r2592  
    5151    Session create(Principal principal); 
    5252 
     53    /** 
     54     *  
     55     * @param session 
     56     * @return 
     57     */ 
    5358    Session update(Session session); 
     59 
     60    /** 
     61     * Allows decrementing the reference count for a session without calling the 
     62     * actual {@link #close(String)} logic. This is useful when it is assumed 
     63     * that another user will re-attach to the same session. A timeout can still 
     64     * cause the session to be removed. 
     65     *  
     66     * @param uuid 
     67     * @return 
     68     */ 
     69    int detach(String uuid); 
    5470 
    5571    /** 

Download in other formats:

  • Unified Diff
  • Zip Archive

Trac Powered

Powered by Trac 0.11
By Edgewall Software.

Visit the Trac open source project at
http://trac.edgewall.org/