Uses of Annotation Interface
org.jgroups.annotations.GuardedBy
Packages that use GuardedBy
Package
Description
Provides building blocks that are layered on top of channels.
Provides implementations of transport protocols which are
responsible for sending and receiving messages to/from the network.
Support for managing protocol stacks.
Provides useful functionality which cannot be assigned to any particular other package.
-
Uses of GuardedBy in org.jgroups.blocks
Fields in org.jgroups.blocks with annotations of type GuardedByModifier and TypeFieldDescriptionprotected intGroupRequest.num_receivedprotected intGroupRequest.num_validGroupRequest.rspsCorrelates requests and responsesMethods in org.jgroups.blocks with annotations of type GuardedByModifier and TypeMethodDescriptionprotected booleanGroupRequest.responsesComplete()booleanUnicastRequest.responsesComplete() -
Uses of GuardedBy in org.jgroups.blocks.cs
Methods in org.jgroups.blocks.cs with annotations of type GuardedByModifier and TypeMethodDescriptionprotected voidNioConnection.addBuffer(ByteBuffer buf) protected voidNioConnection.addBuffers(ByteBuffer[] bufs) protected voidTcpConnection.doSend(byte[] data, int offset, int length, boolean flush) voidBaseServer.replaceConnection(Address address, Connection conn) -
Uses of GuardedBy in org.jgroups.protocols
Fields in org.jgroups.protocols with annotations of type GuardedByModifier and TypeFieldDescriptionprotected longBaseBundler.countprotected longRATE_LIMITER.current_period_startprotected Future<?> FailureDetection.heartbeat_senderprotected longRATE_LIMITER.num_bytes_sent_in_periodKeeps track of the number of bytes sent in the current time periodprotected ThreadFD_SOCK.pinger_threadprotected Future<?> COUNTER.reconciliation_task_futureprotected Future<?> FailureDetection.timeout_checkerMethods in org.jgroups.protocols with annotations of type GuardedByModifier and TypeMethodDescriptionprotected voidBaseBundler.addMessage(Message msg, int size) protected voidBaseBundler.sendBundledMessages()Sends all messages in the map.protected voidFD_SOCK2.BroadcastTask.startTask()protected voidFD_SOCK2.BroadcastTask.stopTask()protected voidVERIFY_SUSPECT2.stopThreadPool()protected voidVERIFY_SUSPECT.stopTimer() -
Uses of GuardedBy in org.jgroups.protocols.pbcast
Fields in org.jgroups.protocols.pbcast with annotations of type GuardedByModifier and TypeFieldDescriptionprotected MutableDigestSTABLE.digestStreamingStateTransfer.membersprotected longSTABLE.num_bytes_receivedThe total number of bytes received from unicast and multicast messagesprotected final AtomicBooleanViewHandler.processingprotected Future<?> STABLE.stable_task_futureprotected FixedSizeBitSetSTABLE.votesKeeps track of who we already heard from (STABLE_GOSSIP msgs).Methods in org.jgroups.protocols.pbcast with annotations of type GuardedByModifier and TypeMethodDescriptionprotected booleanSTABLE.addVote(int rank) Adds mbr to votes and returns true if we have all the votes, otherwise false.protected static booleanSTABLE.allVotesReceived(FixedSizeBitSet votes) Votes is already locked and guaranteed to be non-nullprotected Collection<R> ViewHandler.remove(Collection<R> requests) Removes requests as long as they match - breaks at the first non-matching request or when requests is empty This method must catch all exceptions; or else process() might return without setting processing to true again!protected voidSTABLE.resetDigest()protected voidSTABLE.updateLocalDigest(Digest d, Address sender) Update my own digest from a digest received by somebody else. -
Uses of GuardedBy in org.jgroups.stack
Methods in org.jgroups.stack with annotations of type GuardedBy -
Uses of GuardedBy in org.jgroups.util
Fields in org.jgroups.util with annotations of type GuardedByMethods in org.jgroups.util with annotations of type GuardedByModifier and TypeMethodDescriptionprotected voidDynamicBuffer._compact()Moves the contents of matrix down by the number of purged rows and resizes the matrix accordingly.protected booleanRequestTable._compact()Shrinks the array to half of its current size if the current number of elements fit into half of the capacity.protected voidTable._compact()Moves the contents of matrix down by the number of purged rows and resizes the matrix accordingly.protected booleanRequestTable._contiguousSpaceAvailable(int space_needed) Check if we have at least space_needed contiguous free slots available in range [low+1 ..protected ResponsesResponses._done()protected voidRequestTable._grow(long new_capacity) protected voidprotected voidRequestTable.advanceLow()protected booleanFixedBuffer.block(long seqno) protected voidBlockingInputStream.compact()Moves the bytes between [read_pos and write_pos] read_pos bytes to the left, such that the new read_pos is 0 and the write_pos is write_pos - read_pos.protected intDynamicBuffer.computeIndex(long seqno) Computes and returns the index within a row for seqnoprotected intTable.computeIndex(long seqno) Computes and returns the index within a row for seqnoprotected longAckTable.computeMin()protected intDynamicBuffer.computeRow(long seqno) Computes and returns the row index for seqno.protected intTable.computeRow(long seqno) Computes and returns the row index for seqno.intBuffer.computeSize()Iterates from hd to high and adds up non-null values.intTable.computeSize()Iterate from low to hr and add up non-null values.protected voidFixedBuffer.decreaseCapacity(int new_cap) protected booleanCredit.decrement(long credits) protected intvoidDynamicBuffer.forEach(long from, long to, Buffer.Visitor<T> visitor, boolean nullify) Iterates over the matrix with range [from ..voidTable.forEach(long from, long to, Table.Visitor<T> visitor) Iterates over the matrix with range [from ..protected T[]DynamicBuffer.getRow(int index) Returns a row.protected T[]Table.getRow(int index) Returns a row.protected voidFixedBuffer.increaseCapacity(int new_cap) protected voidDynamicBuffer.move(int num_rows) Moves contents of matrix num_rows down.protected voidTable.move(int num_rows) Moves contents of matrix num_rows down.protected intBlockingInputStream.remaining()protected voidDynamicBuffer.resize(long seqno) Moves rows down the matrix, by removing purged rows.protected voidTable.resize(long seqno) Moves rows down the matrix, by removing purged rows.protected intBlockingInputStream.size()Responses.toList()booleanboolean