void preProcessOperation ( UpdateAttributesOperation operation ) throws StreamSegmentSealedException , StreamSegmentMergedException , BadAttributeUpdateException { ensureSegmentId ( operation ) ; if ( this . merged ) { // We do not allow any operation after merging (since after merging the Segment disappears). throw new StreamSegmentMergedException ( this . name ) ; } if ( this . sealed ) { throw new StreamSegmentSealedException ( this . name ) ; } if ( ! this . recoveryMode ) { preProcessAttributes ( operation . getAttributeUpdates ( ) ) ; } }
Pre - processes a UpdateAttributesOperation . After this method returns the given operation will have its AttributeUpdates set to the current values of those attributes .