Class DeleteOnNoLinks

  • All Implemented Interfaces:
    LifetimePolicyIF

    public class DeleteOnNoLinks
    extends AMQPList
    implements LifetimePolicyIF

    A node dynamically created with this lifetime policy will be deleted at the point that there remain no links for which the node is either the source or target.

    Version:
    AMQP Version v100. Generation Date: Wed Apr 18 14:09:32 CEST 2012
    Author:
    IIT Software GmbH, Bremen/Germany, (c) 2012, All Rights Reserved
    • Constructor Detail

      • DeleteOnNoLinks

        public DeleteOnNoLinks​(java.util.List initValue)
                        throws java.lang.Exception
        Constructs a DeleteOnNoLinks.
        Parameters:
        initValue - initial value
        Throws:
        error - during initialization
        java.lang.Exception
      • DeleteOnNoLinks

        public DeleteOnNoLinks()
        Constructs a DeleteOnNoLinks.
    • Method Detail

      • hasDescriptor

        public boolean hasDescriptor()
        Return whether this DeleteOnNoLinks has a descriptor
        Overrides:
        hasDescriptor in class AMQPType
        Returns:
        true/false
      • getPredictedSize

        public int getPredictedSize()
        Returns the predicted size of this DeleteOnNoLinks. The predicted size may be greater than the actual size but it can never be less.
        Specified by:
        getPredictedSize in interface LifetimePolicyIF
        Overrides:
        getPredictedSize in class AMQPList
        Returns:
        predicted size
      • getArrayConstructor

        public AMQPDescribedConstructor getArrayConstructor()
                                                     throws java.io.IOException
        Returns an array constructor (internal use)
        Returns:
        array constructor
        Throws:
        java.io.IOException
      • writeContent

        public void writeContent​(java.io.DataOutput out)
                          throws java.io.IOException
        Description copied from class: AMQPType
        Write the content of this type to a DataOutput.
        Overrides:
        writeContent in class AMQPList
        Parameters:
        out - DataOutput
        Throws:
        java.io.IOException - on error
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class AMQPList