|
Oracle® Coherence Java API Reference Release 3.6.0.0 E15725-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.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class com.tangosol.coherence.servlet.AbstractHttpSessionModel |
|---|
AbstractHttpSessionModel.AttributeHolder |
| Field Summary |
|---|
| Fields inherited from class com.tangosol.coherence.servlet.AbstractHttpSessionModel |
|---|
ENTRY_ARRAY, MAGIC_V350, STRING_ARRAY |
| Constructor Summary | |
|---|---|
MonolithicHttpSessionModel()Deprecated. Default constructor for deserialization. |
|
MonolithicHttpSessionModel(MonolithicHttpSessionCollection collection, javax.servlet.http.HttpSession session, String sId)Deprecated. Session creation constructor. |
|
| Method Summary | |
|---|---|
protected 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 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(AbstractHttpSessionModel.AttributeHolder holder, Throwable e)Deprecated. Log a serialization failure for an attribute holder. |
protected void |
readAttributes(DataInput in)Deprecated. Helper to read the session attributes from a stream. |
protected void |
setAttributeSerializationFailureMap(Map mapFailures)Deprecated. Set the map of attributes that cannot be written. |
String |
toString()Deprecated. Returns a string representation of the object. |
protected void |
writeAttributes(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,
String sId)
collection - the collection that manages this modelsession - the session that delegates to this modelsId - the session ID| Method Detail |
|---|
protected void readAttributes(DataInput in)
throws IOException
readAttributes in class AbstractHttpSessionModelin - the stream to read data from in order to restore the objectIOException - if an I/O exception occurs
protected void writeAttributes(DataOutput out)
throws IOException
writeAttributes in class AbstractHttpSessionModelout - the stream to write the object toIOException - if an I/O exception occursprotected void enterWriteAttributes()
protected void leaveWriteAttributes()
protected boolean isWritingAttributes()
writeAttributes(java.io.DataOutput) processing is occurringprotected Map getAttributeSerializationFailureMap()
protected void setAttributeSerializationFailureMap(Map mapFailures)
mapFailures - the mapprotected Map ensureAttributeSerializationFailureMap()
protected void logAttributeSerializationFailure(AbstractHttpSessionModel.AttributeHolder holder,
Throwable e)
logAttributeSerializationFailure in class AbstractHttpSessionModelholder - the attribute holder that failed to serialize its valuee - the throwable object that resulted from the serialization failurepublic String toString()
toString in class AbstractHttpSessionModel
|
Oracle® Coherence Java API Reference Release 3.6.0.0 E15725-01 |
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||