Class IonetBanner
java.lang.Object
com.iohao.net.framework.toy.IonetBanner
Startup banner renderer for the ionet framework.
Displays a randomly-colored ASCII art logo, server node summary, JVM information, and optional breaking-news tips on the console. The banner cannot be disabled -- developers are expected to read it.
- Author:
- 渔民小镇
- date:
- 2023-01-30
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic voidstatic voidstatic voidinitCountDownLatch(int num) static voidofRuntimeException(String message) static voidstatic voidstatic voidprintlnMsg(String message) static voidrender()
-
Field Details
-
callback
-
-
Method Details
-
render
public static void render() -
initCountDownLatch
public static void initCountDownLatch(int num) -
countDown
public static void countDown() -
addTag
-
ofRuntimeException
-
printLine
public static void printLine() -
println1
-
printlnMsg
-