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 This package contains all client-server related interfaces and classesorg.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 java.util.concurrent.Future<?>FD.Broadcaster. bcast_futureprotected longBaseBundler. countprotected longRATE_LIMITER. current_period_startprotected java.util.concurrent.Future<?>FailureDetection. heartbeat_senderprotected java.util.concurrent.Future<?>FD. heartbeat_sender_futureprotected java.util.List<Address>FD. membersprotected longRATE_LIMITER. num_bytes_sent_in_periodKeeps track of the number of bytes sent in the current time periodprotected AddressFD. ping_destprotected java.util.List<Address>FD. pingable_mbrsMembers from which we select ping_dest.protected java.lang.ThreadFD_SOCK. pinger_threadprotected FD.BroadcastTaskFD.Broadcaster. taskprotected java.util.concurrent.Future<?>FailureDetection. timeout_checkerprotected java.util.concurrent.Future<?>FD. timeout_checker_futureMethods in org.jgroups.protocols with annotations of type GuardedBy Modifier and Type Method Description protected voidBaseBundler. addMessage(Message msg, long size)protected voidBaseBundler. clearMessages()protected voidFD. computePingDest(Address remove)Computes pingable_mbrs (based on the current membership and the suspected members) and ping_destprotected voidBaseBundler. sendBundledMessages()Sends all messages in the map.protected voidFD. startMonitor()Requires lock to held by callerprotected voidFD. stopMonitor()Requires lock to be held by callerprotected voidVERIFY_SUSPECT. stopTimer()protected voidFD. unsuspect(Address mbr) -
Uses of GuardedBy in org.jgroups.protocols.pbcast
Fields in org.jgroups.protocols.pbcast with annotations of type GuardedBy Modifier and Type Field Description protected MutableDigestSTABLE. digestprotected java.util.List<Address>StreamingStateTransfer. membersprotected longSTABLE. num_bytes_receivedThe total number of bytes received from unicast and multicast messagesprotected booleanViewHandler. processingprotected DigestNAKACK2. rebroadcast_digestprotected java.util.concurrent.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 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. doneMethods 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)
-