MCPcopy Create free account
hub / github.com/bither/bither-desktop-java / main

Method main

src/main/java/net/bither/Bither.java:85–127  ·  view source on GitHub ↗
(String args[])

Source from the content-addressed store, hash-verified

83
84
85 @SuppressWarnings("deprecation")
86 public static void main(String args[]) {
87 new LoggingFactory(new LoggingConfiguration(), "bither").configure();
88 // LoggingFactory.bootstrap();
89 try {
90 initialiseJVM();
91 } catch (Exception e) {
92 e.printStackTrace();
93 }
94 applicationDataDirectoryLocator = new ApplicationDataDirectoryLocator();
95 initBitherApplication();
96 initApp(args);
97// new Thread(new Runnable() {
98// @Override
99// public void run() {
100// while (true) {
101// StringUtil.maxUsedSize();
102// try {
103// Thread.sleep(10);
104// } catch (InterruptedException e) {
105// e.printStackTrace();
106// }
107// }
108//
109// }
110// }).start();
111// System.out.println("addresses:" + AbstractDb.addressProvider.getAddresses().size());
112// new Thread(new Runnable() {
113// @Override
114// public void run() {
115// while (true) {
116// AbstractDb.addressProvider.getAddresses();
117// try {
118// Thread.sleep(1000);
119// } catch (InterruptedException e) {
120// e.printStackTrace();
121// }
122 // StringUtil.callSystemGC();
123// }
124// }
125// }).start();
126
127 }
128
129 private static void initBitherApplication() {
130 ApplicationInstanceManager.txDBHelper = new TxDBHelper(applicationDataDirectoryLocator.getApplicationDataDirectory());

Callers 1

mainMethod · 0.95

Calls 4

initialiseJVMMethod · 0.95
initBitherApplicationMethod · 0.95
initAppMethod · 0.95
configureMethod · 0.80

Tested by

no test coverage detected