org.jboss.messaging.core.persistence.impl.nullpm
Class NullStorageLargeServerMessage

java.lang.Object
  extended by org.jboss.messaging.core.message.impl.MessageImpl
      extended by org.jboss.messaging.core.server.impl.ServerMessageImpl
          extended by org.jboss.messaging.core.persistence.impl.nullpm.NullStorageLargeServerMessage
All Implemented Interfaces:
EncodingSupport, Message, LargeServerMessage, ServerMessage

public class NullStorageLargeServerMessage
extends ServerMessageImpl
implements LargeServerMessage

A NullStorageLargeServerMessage

Author:
Clebert Suconic Created 30-Sep-08 1:51:42 PM

Field Summary
 
Fields inherited from class org.jboss.messaging.core.message.impl.MessageImpl
durable, HDR_ACTUAL_EXPIRY_TIME, HDR_DUPLICATE_DETECTION_ID, HDR_FROM_CLUSTER, HDR_GROUP_ID, HDR_LAST_VALUE_NAME, HDR_ORIG_MESSAGE_ID, HDR_ORIGINAL_DESTINATION, HDR_ROUTE_TO_IDS, HDR_SCHEDULED_DELIVERY_TIME, messageID, type
 
Constructor Summary
NullStorageLargeServerMessage()
           
 
Method Summary
 void addBytes(byte[] bytes)
           
 void complete()
           
 void deleteFile()
           
 boolean isLargeMessage()
           
 void releaseResources()
          Close the files if opened
 
Methods inherited from class org.jboss.messaging.core.server.impl.ServerMessageImpl
copy, copy, createReference, decrementDurableRefCount, decrementRefCount, getLargeBodySize, getMemoryEstimate, getRefCount, incrementDurableRefCount, incrementRefCount, isStored, setMessageID, setStored, setType, toString
 
Methods inherited from class org.jboss.messaging.core.message.impl.MessageImpl
containsProperty, containsProperty, decode, decodeBody, decodeProperties, encode, encodeBody, encodeBody, encodeProperties, getBody, getBodyInputStream, getBodySize, getDestination, getEncodeSize, getExpiration, getMessageID, getPriority, getProperties, getPropertiesEncodeSize, getProperty, getProperty, getPropertyNames, getTimestamp, getType, isDurable, isExpired, putBooleanProperty, putBooleanProperty, putByteProperty, putByteProperty, putBytesProperty, putBytesProperty, putDoubleProperty, putDoubleProperty, putFloatProperty, putFloatProperty, putIntProperty, putIntProperty, putLongProperty, putLongProperty, putShortProperty, putShortProperty, putStringProperty, putStringProperty, putTypedProperties, removeProperty, removeProperty, setBody, setBodyInputStream, setDestination, setDurable, setExpiration, setPriority, setTimestamp, toMap
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.jboss.messaging.core.server.LargeServerMessage
getLargeBodySize
 
Methods inherited from interface org.jboss.messaging.core.server.ServerMessage
copy, copy, createReference, decrementDurableRefCount, decrementRefCount, getMemoryEstimate, getRefCount, incrementDurableRefCount, incrementRefCount, isStored, setMessageID, setStored
 
Methods inherited from interface org.jboss.messaging.core.message.Message
containsProperty, containsProperty, decode, decodeBody, decodeProperties, encode, encodeBody, encodeBody, encodeProperties, getBody, getBodyInputStream, getBodySize, getDestination, getEncodeSize, getExpiration, getMessageID, getPriority, getProperties, getPropertiesEncodeSize, getProperty, getProperty, getPropertyNames, getTimestamp, getType, isDurable, isExpired, putBooleanProperty, putBooleanProperty, putByteProperty, putByteProperty, putBytesProperty, putBytesProperty, putDoubleProperty, putDoubleProperty, putFloatProperty, putFloatProperty, putIntProperty, putIntProperty, putLongProperty, putLongProperty, putShortProperty, putShortProperty, putStringProperty, putStringProperty, putTypedProperties, removeProperty, removeProperty, setBody, setBodyInputStream, setDestination, setDurable, setExpiration, setPriority, setTimestamp, toMap
 
Methods inherited from interface org.jboss.messaging.core.journal.EncodingSupport
decode, encode, getEncodeSize
 

Constructor Detail

NullStorageLargeServerMessage

public NullStorageLargeServerMessage()
Method Detail

releaseResources

public void releaseResources()
Description copied from interface: LargeServerMessage
Close the files if opened

Specified by:
releaseResources in interface LargeServerMessage

addBytes

public void addBytes(byte[] bytes)
Specified by:
addBytes in interface LargeServerMessage

deleteFile

public void deleteFile()
                throws java.lang.Exception
Specified by:
deleteFile in interface LargeServerMessage
Throws:
java.lang.Exception

complete

public void complete()
              throws java.lang.Exception
Specified by:
complete in interface LargeServerMessage
Throws:
java.lang.Exception

isLargeMessage

public boolean isLargeMessage()
Specified by:
isLargeMessage in interface Message
Overrides:
isLargeMessage in class ServerMessageImpl


Copyright © 2006 JBoss Inc. All Rights Reserved.