.append( getZuluTime() ) .append( ", " );
/** * Serializes a ChangeLogEvent instance. * * @param event The ChangeLogEvent instance to serialize * @param out The stream into which we will write the serialized instance * @throws IOException If the stream can't be written */ public static void serialize( ChangeLogEvent event, ObjectOutput out ) throws IOException { // The date the change has been created, "yyyyMMddHHmmss'Z'" out.writeUTF( event.getZuluTime() ); // The committer's Principal LdapPrincipalSerializer.serialize( event.getCommitterPrincipal(), out ); // The revision out.writeLong( event.getRevision() ); // The forward LDIF event.getForwardLdif().writeExternal( out ); // The reverse LDIFs number int nbReverses = event.getReverseLdifs().size(); out.writeInt( nbReverses ); for ( LdifEntry reverseLdif : event.getReverseLdifs() ) { reverseLdif.writeExternal( out ); } out.flush(); }