Interface ClusterShardingInstrumentation

    • Method Detail

      • dependencies

        scala.collection.immutable.Seq<java.lang.String> dependencies()
        Optional dependencies for this instrumentation.

        Dependency instrumentations will always be ordered before this instrumentation.

        Returns:
        list of class names for optional instrumentation dependencies
      • messageDropped

        void messageDropped​(java.lang.String typeName)
      • receivedShardHome

        void receivedShardHome​(java.lang.String typeName,
                               java.lang.String shardId)
        Called when the shard region receives a shard home. The region may call this in the absence of a preceding request for the shardId (e.g. after the bulk announcement from a new coordinator).
      • regionRequestedShardHome

        void regionRequestedShardHome​(java.lang.String typeName,
                                      java.lang.String shardId)
        Called when the shard region requests a shard home from the coordinator. May be called multiple times for a given shardId before receivedShardHome is called (e.g. due to retries)
      • shardHandoffFinished

        void shardHandoffFinished​(java.lang.String typeName,
                                  java.lang.String shard,
                                  boolean ok)
      • shardHandoffStarted

        void shardHandoffStarted​(java.lang.String typeName,
                                 java.lang.String shard)
      • shardRegionBufferSize

        void shardRegionBufferSize​(java.lang.String typeName,
                                   int size)
      • shardRegionBufferSizeIncremented

        void shardRegionBufferSizeIncremented​(java.lang.String typeName)