Class Fragmentation

java.lang.Object
org.jgroups.stack.Protocol
org.jgroups.protocols.Fragmentation
All Implemented Interfaces:
Lifecycle
Direct Known Subclasses:
FRAG, FRAG2, FRAG3

public class Fragmentation extends Protocol
Base class for all fragmentation protocols.
Since:
5.0.0
  • Field Details

    • frag_size

      protected int frag_size
    • num_frags_sent

      protected LongAdder num_frags_sent
    • num_frags_received

      protected LongAdder num_frags_received
  • Constructor Details

    • Fragmentation

      public Fragmentation()
  • Method Details

    • getFragSize

      public int getFragSize()
    • setFragSize

      public <T extends Fragmentation> T setFragSize(int f)
    • getNumberOfSentFragments

      public long getNumberOfSentFragments()
    • getNumberOfReceivedFragments

      public long getNumberOfReceivedFragments()
    • resetStats

      public void resetStats()
      Overrides:
      resetStats in class Protocol