|
Oracle® Coherence Java API Reference Release 3.7.1.0 E22843-01 |
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Object
com.tangosol.util.Base
com.tangosol.coherence.servlet.AbstractHttpSessionModel
com.tangosol.coherence.servlet.MonolithicHttpSessionModel
Deprecated. In releases following 3.6 customization will be declarative.
public class MonolithicHttpSessionModel
This is an implementation of HttpSessionModel that manages its attribute state in a single ('monolithic') serializable unit, allowing session attributes to safely form graphs while avoiding duplication of objects, yet not being able to optimize attribute serialization and deserialization as a result.
| Field Summary |
|---|
| Fields inherited from class com.tangosol.coherence.servlet.AbstractHttpSessionModel |
|---|
MAGIC_V350, STRING_ARRAY |
| Constructor Summary | |
|---|---|
MonolithicHttpSessionModel()Deprecated. Default constructor for deserialization. |
|
MonolithicHttpSessionModel(MonolithicHttpSessionCollection collection, javax.servlet.http.HttpSession session, java.lang.String sId)Deprecated. Session creation constructor. |
|
| Method Summary | |
|---|---|
protected java.util.Map |
ensureAttributeSerializationFailureMap()Deprecated. Ensure that the map of attributes that cannot be written exists, creating it if necessary, and return it. |
protected void |
enterWriteAttributes()Deprecated. Specify that the attributes are now being written. |
protected java.util.Map |
getAttributeSerializationFailureMap()Deprecated. Get the map of attributes that cannot be written. |
protected boolean |
isWritingAttributes()Deprecated. Determine if the attributes are currently being written. |
protected void |
leaveWriteAttributes()Deprecated. Specify that the attributes are no longer being written. |
protected void |
logAttributeSerializationFailure(AttributeHolder holder, java.lang.Throwable e)Deprecated. Log a serialization failure for an attribute holder. |
protected void |
readAttributes(java.io.DataInput in)Deprecated. Helper to read the session attributes from a stream. |
protected void |
setAttributeSerializationFailureMap(java.util.Map mapFailures)Deprecated. Set the map of attributes that cannot be written. |
java.lang.String |
toString()Deprecated. Returns a string representation of the object. |
protected void |
writeAttributes(java.io.DataOutput out)Deprecated. Helper to write the session attributes to a stream. |
| Constructor Detail |
|---|
public MonolithicHttpSessionModel()
public MonolithicHttpSessionModel(MonolithicHttpSessionCollection collection,
javax.servlet.http.HttpSession session,
java.lang.String sId)
collection - the collection that manages this modelsession - the session that delegates to this modelsId - the session ID| Method Detail |
|---|
protected void readAttributes(java.io.DataInput in)
throws java.io.IOException
readAttributes in class AbstractHttpSessionModelin - the stream to read data from in order to restore the objectjava.io.IOException - if an I/O exception occurs
protected void writeAttributes(java.io.DataOutput out)
throws java.io.IOException
writeAttributes in class AbstractHttpSessionModelout - the stream to write the object tojava.io.IOException - if an I/O exception occursprotected void enterWriteAttributes()
protected void leaveWriteAttributes()
protected boolean isWritingAttributes()
writeAttributes(java.io.DataOutput) processing is occurringprotected java.util.Map getAttributeSerializationFailureMap()
protected void setAttributeSerializationFailureMap(java.util.Map mapFailures)
mapFailures - the mapprotected java.util.Map ensureAttributeSerializationFailureMap()
protected void logAttributeSerializationFailure(AttributeHolder holder,
java.lang.Throwable e)
logAttributeSerializationFailure in class AbstractHttpSessionModelholder - the attribute holder that failed to serialize its valuee - the throwable object that resulted from the serialization failurepublic java.lang.String toString()
toString in class AbstractHttpSessionModel
|
Oracle® Coherence Java API Reference Release 3.7.1.0 E22843-01 |
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||