Uses of Class
org.jgroups.annotations.GuardedBy
-
Packages that use GuardedBy Package Description org.jgroups.blocks Provides building blocks that are layered on top of channels.org.jgroups.blocks.cs org.jgroups.protocols Provides implementations of transport protocols which are responsible for sending and receiving messages to/from the network.org.jgroups.protocols.pbcast org.jgroups.stack Support for managing protocol stacks.org.jgroups.util 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 GuardedBy Modifier and Type Field Description protected intGroupRequest. num_receivedprotected intGroupRequest. num_validprotected RspList<T>GroupRequest. rspsCorrelates requests and responsesMethods in org.jgroups.blocks with annotations of type GuardedBy Modifier and Type Method Description protected booleanGroupRequest. responsesComplete()booleanUnicastRequest. responsesComplete() -
Uses of GuardedBy in org.jgroups.blocks.cs
Methods in org.jgroups.blocks.cs with annotations of type GuardedBy Modifier and Type Method Description voidBaseServer. replaceConnection(Address address, Connection conn) -
Uses of GuardedBy in org.jgroups.protocols
Fields in org.jgroups.protocols with annotations of type GuardedBy Modifier and Type Field Description protected longBaseBundler. countprotected longRATE_LIMITER. current_period_startprotected java.util.concurrent.Future<?>FailureDetection. heartbeat_senderprotected longRATE_LIMITER. num_bytes_sent_in_periodKeeps track of the number of bytes sent in the current time periodprotected java.lang.ThreadFD_SOCK. pinger_threadprotected java.util.concurrent.Future<?>COUNTER. reconciliation_task_futureprotected java.util.concurrent.Future<?>FailureDetection. timeout_checkerMethods in org.jgroups.protocols with annotations of type GuardedBy Modifier and Type Method Description protected 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 GuardedBy Modifier and Type Field Description private ViewFLUSH. currentViewprotected MutableDigestSTABLE. digestprivate booleanFLUSH. flushCompletedprivate java.util.Map<Address,Digest>FLUSH. flushCompletedMapprivate AddressFLUSH. flushCoordinatorGroup member that requested FLUSH.private java.util.List<Address>FLUSH. flushMembersprivate java.util.List<Address>FLUSH. flushNotCompletedMapprivate booleanFLUSH. isBlockingFlushDownIndicates if FLUSH.down() is currently blocking threads Condition predicate associated with blockMutexprotected java.util.List<Address>StreamingStateTransfer. membersprotected longSTABLE. num_bytes_receivedThe total number of bytes received from unicast and multicast messagesprotected booleanViewHandler. processingprotected DigestNAKACK2. rebroadcast_digestprivate java.util.List<Address>FLUSH. reconcileOksprotected java.util.concurrent.Future<?>STABLE. stable_task_futureprivate java.util.Set<Address>FLUSH. suspectedprotected FixedSizeBitSetSTABLE. votesKeeps track of who we already heard from (STABLE_GOSSIP msgs).Methods in org.jgroups.protocols.pbcast with annotations of type GuardedBy Modifier and Type Method Description protected 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 voidSTABLE. resetDigest()protected booleanViewHandler. setProcessing(boolean flag)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 Modifier and Type Method Description protected voidRouterStub. _doConnect() -
Uses of GuardedBy in org.jgroups.util
Fields in org.jgroups.util with annotations of type GuardedBy Modifier and Type Field Description protected java.util.Map<Address,java.lang.Long>CreditMap. creditsprotected booleanResponses. doneprivate java.util.Map<Address,T>ResponseCollector. responsesMethods in org.jgroups.util with annotations of type GuardedBy Modifier and Type Method Description 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 voidResponses. add(PingData data)protected 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 intResponses. find(PingData data)voidTable. 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()protected java.util.List<PingData>Responses. toList()booleanTable.Remover. visit(long seqno, T element, int row, int column)
-