-
Notifications
You must be signed in to change notification settings - Fork 3.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[#9595] Improve async state propagation in NonSampling state
- Loading branch information
Showing
11 changed files
with
375 additions
and
106 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
28 changes: 28 additions & 0 deletions
28
profiler/src/main/java/com/navercorp/pinpoint/profiler/context/DisableAsyncState.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
package com.navercorp.pinpoint.profiler.context; | ||
|
||
import com.navercorp.pinpoint.bootstrap.context.AsyncState; | ||
import org.apache.logging.log4j.LogManager; | ||
import org.apache.logging.log4j.Logger; | ||
|
||
/** | ||
* @author Woonduk Kang(emeroad) | ||
*/ | ||
public class DisableAsyncState implements AsyncState { | ||
private final Logger logger = LogManager.getLogger(this.getClass()); | ||
|
||
@Override | ||
public void setup() { | ||
logger.debug("setup"); | ||
} | ||
|
||
@Override | ||
public boolean await() { | ||
logger.debug("await"); | ||
return false; | ||
} | ||
|
||
@Override | ||
public void finish() { | ||
logger.debug("finish"); | ||
} | ||
} |
Oops, something went wrong.