blackboard.platform.session
Class BbSession.Scope

java.lang.Object
  |
  +--blackboard.platform.session.BbSession.Scope
Enclosing class:
BbSession

public static class BbSession.Scope
extends java.lang.Object

Inner class -- BbSession.Scope Enumeration.


Field Summary
static BbSession.Scope GLOBAL_USER
          Attributes with global scope are offloaded to persistent storage in database or filesystem and are subsequently available to any webapp or consumer in any process.
static BbSession.Scope LOCAL_USER
          Attributes with local scope are stored in memory and are available to all webapps and other consumers in the system.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

LOCAL_USER

public static final BbSession.Scope LOCAL_USER
Attributes with local scope are stored in memory and are available to all webapps and other consumers in the system. In a distributed environement, each blackboard instance will have its own copy of this cache. It is not intended to be distributed in any way accross VMs. Attributes are always clean, or up to date, in this scope, since sets and gets will be syncronized in the session implementation.


GLOBAL_USER

public static final BbSession.Scope GLOBAL_USER
Attributes with global scope are offloaded to persistent storage in database or filesystem and are subsequently available to any webapp or consumer in any process. Attributes may be dirty, since we are currently not supporting setting and reading these attributes in a transaction.



Copyright © 2003 Blackboard, Inc. All Rights Reserved.