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 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 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 protected MutableDigestSTABLE. digestprotected java.util.List<Address>StreamingStateTransfer. membersprotected longSTABLE. num_bytes_receivedThe total number of bytes received from unicast and multicast messagesprotected java.util.concurrent.atomic.AtomicBooleanViewHandler. processingprotected 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 java.util.Collection<R>ViewHandler. remove(java.util.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 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 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 voidResponses. add(PingData data)protected voidRequestTable. advanceLow()protected booleanFixedBuffer. block(long seqno)protected booleanRingBufferSeqnoOld. 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 intResponses. find(PingData data)voidDynamicBuffer. 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()protected java.util.List<PingData>Responses. toList()booleanBuffer.Remover. visit(long seqno, T element)booleanTable.Remover. visit(long seqno, T element, int row, int column)
-