Uses of Class
org.opends.server.replication.protocol.ByteArrayBuilder
Package
Description
This package contains the code used by the replication server and by the code running on the Directory Server side to
exchange their information.
-
Uses of ByteArrayBuilder in org.opends.server.replication.protocol
Modifier and TypeMethodDescriptionByteArrayBuilder.appendBoolean
(boolean b) Append a boolean to this ByteArrayBuilder.ByteArrayBuilder.appendByte
(int b) Append a byte to this ByteArrayBuilder.ByteArrayBuilder.appendByteArray
(byte[] bytes) Append all the bytes from the byte array to this ByteArrayBuilder.ByteArrayBuilder.appendCsn
(CSN csn, CSN.CsnVersion version) Append a CSN to this ByteArrayBuilder.ByteArrayBuilder.appendCsnUtf8
(CSN csn, CSN.CsnVersion version) Append a CSN to this ByteArrayBuilder by converting it to a String then encoding that string to a UTF-8 byte array.Append a DN to this ByteArrayBuilder by converting it to a String then encoding that string to a UTF-8 byte array.ByteArrayBuilder.appendGroupId
(com.forgerock.opendj.discovery.GroupId groupId) Appends the encoded version of aGroupId
to this ByteArrayBuilder.ByteArrayBuilder.appendInt
(int i) Append an int to this ByteArrayBuilder.ByteArrayBuilder.appendIntUtf8
(int i) Append an int to this ByteArrayBuilder by converting it to a String then encoding that string to a UTF-8 byte array.ByteArrayBuilder.appendLong
(long l) Append a long to this ByteArrayBuilder.ByteArrayBuilder.appendLongUtf8
(long l) Append a long to this ByteArrayBuilder by converting it to a String then encoding that string to a UTF-8 byte array.Append an RDN to this ByteArrayBuilder by converting it to a String then encoding that string to a UTF-8 byte array.ByteArrayBuilder.appendReplicaId
(ReplicaId replicaId) Appends the encoded version of thisReplicaId
to this ByteArrayBuilder.ByteArrayBuilder.appendReplicationServerId
(ReplicationServerId replicationServerId) Appends the encoded version of thisReplicationServerId
to this ByteArrayBuilder.ByteArrayBuilder.appendServerId
(ServerId<?> serverId) Appends a server id.ByteArrayBuilder.appendServerStateMustComeLast
(ServerState serverState) Append the byte representation of a ServerState to this ByteArrayBuilder and then append a final zero byte separator.ByteArrayBuilder.appendShort
(int s) Append a short to this ByteArrayBuilder.ByteArrayBuilder.appendString
(String s) Append a String with a zero separator to this ByteArrayBuilder, or only the zero separator if the string is null or if the string length is zero.ByteArrayBuilder.appendStrings
(Collection<String> col) Append a Collection of Strings to this ByteArrayBuilder.ByteArrayBuilder.appendUUID
(UUID uuid) Append an UUID with a zero separator to this ByteArrayBuilder, or only the zero separator if the UUID isnull
.ByteArrayBuilder.appendZeroTerminatedByteArray
(byte[] bytes) Append all the bytes from the byte array to this ByteArrayBuilder and then append a final zero byte separator for compatibility with legacy implementations.