com.caucho.quercus.env
Class ResinSessionArrayValue

java.lang.Object
  extended by com.caucho.quercus.env.Value
      extended by com.caucho.quercus.env.ArrayValue
          extended by com.caucho.quercus.env.ArrayValueWrapper
              extended by com.caucho.quercus.env.SessionArrayValue
                  extended by com.caucho.quercus.env.ResinSessionArrayValue
All Implemented Interfaces:
CacheListener, java.io.Serializable

public class ResinSessionArrayValue
extends SessionArrayValue

Represents the $_SESSION

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class com.caucho.quercus.env.ArrayValue
ArrayValue.AbstractGet, ArrayValue.Entry, ArrayValue.EntryIterator, ArrayValue.EntrySet, ArrayValue.GetKey, ArrayValue.GetValue, ArrayValue.KeyComparator, ArrayValue.KeyIterator, ArrayValue.KeySet, ArrayValue.ValueCollection, ArrayValue.ValueComparator, ArrayValue.ValueIterator
 
Field Summary
protected static java.util.logging.Logger log
           
 
Fields inherited from class com.caucho.quercus.env.SessionArrayValue
_accessTime
 
Fields inherited from class com.caucho.quercus.env.ArrayValue
ARRAY, GET_KEY, GET_VALUE, KEY, VALUE
 
Fields inherited from class com.caucho.quercus.env.Value
L, NULL_ARGS, NULL_VALUE_ARRAY, SCALAR_V
 
Constructor Summary
ResinSessionArrayValue(java.lang.String id, long now, long maxInactiveInterval)
           
ResinSessionArrayValue(java.lang.String id, long now, long maxInactiveInterval, ArrayValue array)
           
 
Method Summary
 Value copy(Env env, java.util.IdentityHashMap<Value,Value> map)
          Copy for serialization
 boolean load()
           
protected  void remove()
          Invalidates the session.
protected  void store()
           
 
Methods inherited from class com.caucho.quercus.env.SessionArrayValue
addUse, decode, encode, finish, getAccessTime, getId, getMaxInactiveInterval, inUse, invalidate, isEmpty, isValid, load, removeEvent, reset, setAccess, setId, setValid, store, storeOnShutdown, toObject
 
Methods inherited from class com.caucho.quercus.env.ArrayValueWrapper
add, append, clear, contains, containsKey, containsStrict, copy, copySaveFunArg, createTailKey, current, each, end, get, getArg, getArray, getHead, getIterator, getKeyIterator, getSize, getTail, getValueIterator, getVar, hasCurrent, isset, key, next, pop, prev, put, put, putVar, remove, reset, shuffle, splice, unshift
 
Methods inherited from class com.caucho.quercus.env.ArrayValue
append, callCallback, callCallback, callCallback, cmp, copyReturn, entrySet, eq, eql, geq, getArray, getBaseIterator, getCount, getCountRecursive, getCurrent, getIterator, getKeyArray, getKeys, getObject, getRaw, getType, getValueArray, getValues, getValueType, gt, isArray, isCallable, jsonEncode, keyExists, keyReset, keySet, keysToArray, leq, lt, print, printREntry, printRImpl, put, put, put, put, put, put, put, put, put, put, put, putAll, serialize, setCurrent, slice, sort, toArray, toArray, toArrayValue, toAutoArray, toBinaryValueMarshalCost, toBoolean, toCallable, toCharMarshalCost, toDouble, toEntryArray, toJavaCollection, toJavaList, toJavaMap, toJavaObject, toKey, toLocalRef, toLong, toObject, toString, toStringMarshalCost, toStringValueMarshalCost, toUnicodeValueMarshalCost, values, valuesToArray, valuesToArray, varDumpEntry, varDumpImpl, varExport
 
Methods inherited from class com.caucho.quercus.env.Value
abs, add, addOne, appendTo, appendTo, appendTo, appendTo, bitAnd, bitOr, bitXor, call, call, call, call, call, call, call, callCopy, callMethod, callMethod, callMethod, callMethod, callMethod, callMethod, callMethod, callMethod, callMethod, callMethod, callMethod, callMethod, callMethod, callMethod, callMethodRef, callMethodRef, callMethodRef, callMethodRef, callMethodRef, callMethodRef, callMethodRef, callMethodRef, callMethodRef, callMethodRef, callMethodRef, callMethodRef, callMethodRef, callMethodRef, callRef, callRef, callRef, callRef, callRef, callRef, callRef, charValueAt, checkPrivate, checkProtected, clone, copy, copyArrayItem, copyStringBuilder, copyTree, div, div, eqValue, findFunction, generate, getCallableName, getCalledClass, getClassName, getDirty, getField, getFieldArg, getFieldArgRef, getFieldArray, getFieldObject, getFieldVar, getHashCode, getObject, getQuercusClass, getRef, getResourceType, getThisField, getThisFieldArg, getThisFieldArgRef, getThisFieldArray, getThisFieldObject, getThisFieldVar, hashCode, increment, initField, isA, isA, isBinary, isBoolean, isDefault, isDouble, isDoubleConvertible, isFieldInit, isLong, isLongConvertible, isNull, isNumberConvertible, isNumeric, isObject, isResource, isset, issetField, issetThisField, isString, isUnicode, isVar, length, lshift, mod, mul, mul, neg, nextIndex, pos, postdecr, postincr, postincr, predecr, preincr, preincr, print, printDepth, printJavaChar, printJavaString, printR, put, putField, putField, putField, putObject, putThisField, putThisField, rshift, serialize, set, setCharValueAt, setFieldInit, setJavaObject, sub_rev, sub, sub, subOne, toArgRef, toAutoObject, toBigDecimal, toBigInteger, toBinaryValue, toBinaryValue, toBinaryValue, toBooleanMarshalCost, toByteArrayMarshalCost, toByteMarshalCost, toChar, toCharArrayMarshalCost, toDebugString, toDoubleMarshalCost, toDoubleValue, toException, toFloatMarshalCost, toInputStream, toInt, toIntegerMarshalCost, toInternString, toJavaBoolean, toJavaByte, toJavaCalendar, toJavaCharacter, toJavaDate, toJavaDouble, toJavaFloat, toJavaInteger, toJavaLong, toJavaObject, toJavaObjectMarshalCost, toJavaObjectNotNull, toJavaShort, toJavaString, toJavaURL, toLocalThis, toLocalValue, toLocalValueReadOnly, toLocalVar, toLocalVarDeclAsRef, toLongMarshalCost, toLongValue, toRef, toRefValue, toShortMarshalCost, toString, toStringBuilder, toStringBuilder, toStringBuilder, toStringBuilder, toStringValue, toStringValue, toUnicode, toUnicodeValue, toUnicodeValue, toValue, toVar, unsetArray, unsetField, unsetThisArray, unsetThisField, varDump
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

log

protected static final java.util.logging.Logger log
Constructor Detail

ResinSessionArrayValue

public ResinSessionArrayValue(java.lang.String id,
                              long now,
                              long maxInactiveInterval)

ResinSessionArrayValue

public ResinSessionArrayValue(java.lang.String id,
                              long now,
                              long maxInactiveInterval,
                              ArrayValue array)
Method Detail

copy

public Value copy(Env env,
                  java.util.IdentityHashMap<Value,Value> map)
Copy for serialization

Overrides:
copy in class SessionArrayValue

load

public boolean load()
Overrides:
load in class SessionArrayValue

store

protected void store()
Overrides:
store in class SessionArrayValue

remove

protected void remove()
Invalidates the session.

Overrides:
remove in class SessionArrayValue