Uses of Annotation Type
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 voidTcpConnection.doSend(byte[] data, int offset, int length) 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 TypeFieldDescriptionprivate ViewFLUSH.currentViewDeprecated, for removal: This API element is subject to removal in a future version.protected MutableDigestSTABLE.digestprivate booleanFLUSH.flushCompletedDeprecated, for removal: This API element is subject to removal in a future version.FLUSH.flushCompletedMapDeprecated, for removal: This API element is subject to removal in a future version.private AddressFLUSH.flushCoordinatorDeprecated, for removal: This API element is subject to removal in a future version.Group member that requested FLUSH.FLUSH.flushMembersDeprecated, for removal: This API element is subject to removal in a future version.FLUSH.flushNotCompletedMapDeprecated, for removal: This API element is subject to removal in a future version.private booleanFLUSH.isBlockingFlushDownDeprecated, for removal: This API element is subject to removal in a future version.Indicates if FLUSH.down() is currently blocking threads Condition predicate associated with blockMutexStreamingStateTransfer.membersprotected longSTABLE.num_bytes_receivedThe total number of bytes received from unicast and multicast messagesprotected final AtomicBooleanViewHandler.processingprotected DigestNAKACK2.rebroadcast_digestFLUSH.reconcileOksDeprecated, for removal: This API element is subject to removal in a future version.protected Future<?> STABLE.stable_task_futureFLUSH.suspectedDeprecated, for removal: This API element is subject to removal in a future version.protected 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 GuardedByModifier and TypeFieldDescriptionCreditMap.creditsprotected booleanResponses.doneResponseCollector.responsesMethods in org.jgroups.util with annotations of type GuardedByModifier and TypeMethodDescriptionprotected 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 booleanRingBufferSeqno.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 intTable.computeIndex(long seqno) Computes and returns the index within a row for seqnoprotected intTable.computeRow(long seqno) Computes and returns the row index for seqno.intTable.computeSize()Iterate from low to hr and add up non-null values.protected booleanCredit.decrement(long credits) protected intvoidTable.forEach(long from, long to, Table.Visitor<T> visitor) Iterates over the matrix with range [from ..protected T[]Table.getRow(int index) Returns a row.protected voidTable.move(int num_rows) Moves contents of matrix num_rows down.protected intBlockingInputStream.remaining()protected voidTable.resize(long seqno) Moves rows down the matrix, by removing purged rows.protected intBlockingInputStream.size()Responses.toList()boolean