Created
August 24, 2019 02:24
-
-
Save zhaohuabing/5f58abb9e233d699f2e056d93fdcbb27 to your computer and use it in GitHub Desktop.
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
@Component | |
public class DBAccess { | |
@Traced | |
public void save2db() { | |
try { | |
Thread.sleep((long) (Math.random() * 100)); | |
} catch (InterruptedException e) { | |
e.printStackTrace(); | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment