z3r0fox
b1eaa772a1
Linting dep-ann: Added @Deprecated annotations in BOB and i2p_sdk
2016-02-06 21:32:28 +00:00
51c5da3f72
lint: don't catch Exception, catch RuntimeException or checked exception.
...
omits SAM, BOB, reflection, commented-out code, and a few other places
2015-11-12 18:49:13 +00:00
zab2
ca4642e0f0
Reduce the memory footprint of Rate objects by changing longs to ints and doubles to floats
2015-11-06 20:19:43 +00:00
zab2
3f91e448c0
Add serialization methods to StatManager, FrequencyStat and Frequency
...
for easier collection
2015-11-04 21:41:33 +00:00
1ed1e4414b
Findbugs all over #4
...
char encoding
2015-07-12 19:19:32 +00:00
d087fd674b
Findbugs all over #3
...
char encoding, remove FileReader/FileWriter
Fix TunnelConfig bug
2015-07-12 16:34:24 +00:00
c927441d66
case-insensitive sort of stats
2015-03-16 20:14:32 +00:00
2d85b98c20
* i2ptunnel.config: Remove irc.freshcoffee.i2p
...
* NetDbRenderer: Adjust debug floodfill estimate
* StatManager: Don't start thread for an empty config
* StatisticsManager: Don't publish client tunnel stats
* Log tweaks
2014-03-28 14:01:39 +00:00
str4d
c180292358
Style fix: leave brackets around for() one-liners
2013-12-04 03:51:02 +00:00
str4d
efe3bd2c05
Use for each when Iterator not needed
2013-11-28 11:56:54 +00:00
str4d
89dcceefee
Core: type arguments, unused imports
2013-11-20 04:02:28 +00:00
zab
2c8f2ae404
Change the Rate.equals(..) method to work for Rates w/o a parent RateStat
...
Change the RateStat.equals(..) method to work with deserialized RateStats
Update and fix the JUnit tests for both
2013-01-03 20:08:54 +00:00
8edbfc5198
replace call to Arrays.copyOf(), not in Java 5
2012-12-15 14:41:42 +00:00
zab
d062db3c17
Object churn improvements, ticket #787
2012-12-10 09:46:05 +00:00
zab
7c96044d18
javadoc
2012-11-22 20:47:54 +00:00
zab
8c987fc0d2
Add javadocs to getters
...
Make setters package-private
Small noop tweak to the computeAverages
2012-11-18 15:01:43 +00:00
zab
efc202d2ee
more use of the new methods
2012-11-17 19:22:23 +00:00
zab
3cbca7c0ac
more use of the computeAverages method
2012-11-17 18:51:28 +00:00
zab
82e4244473
more refactoring
2012-11-17 18:36:55 +00:00
zab
836620c375
javadoc
2012-11-17 18:03:10 +00:00
zab
4824cae36c
Properly synchronize the Rate class
...
Add a new class to store results from rate calculations
Add a new method to compute average, last and current measurements
Use the new method in RouterThrottleImpl
2012-11-17 00:04:08 +00:00
zab
a3e3001d49
* Sync fixes to Frequency
...
* Removal of warnings related to generics in StatManager
2012-11-14 21:53:54 +00:00
b259a3ac3d
* stats.jsp: Sort groups by translated name
2012-10-10 19:11:18 +00:00
f13956d380
remove unused imports (eclipse)
2012-03-25 21:45:18 +00:00
3e889d2747
remove unnecessary casts (eclipse)
2012-03-25 20:42:41 +00:00
07957409cb
* Stats:
...
- Cleanups
- Remove some locking
- Change some longs to ints to save space
- Remove static logs
2012-01-14 17:44:50 +00:00
a6ce41fac5
* Stats: Add API methods for zero duration, for efficiency
2011-10-15 17:11:40 +00:00
5030a86311
field cleanup
2011-09-06 12:12:43 +00:00
948de5462f
* Stats: Restore pre-0.8.8 API to not create a new Rate if it does not
...
exist in RateStat.getRate()
2011-08-28 14:31:39 +00:00
363a3e57ff
cleanups and javadoc fixes
2011-08-21 16:31:46 +00:00
dev
bf8f1508cd
Changed the equals method to rely on the protected ConcurrentHashMap.equals().
2011-07-22 15:51:36 +00:00
dev
661325af5a
Removed the last Set.entrySet(), sorry zzz.
2011-07-22 14:19:01 +00:00
dev
23c30a99cb
Changed all iterators using entrySet() to values().
...
Removed debug from main()
Recommented main out.
2011-07-21 13:06:59 +00:00
dev
7c4f088b3e
Removed unneeded import.
2011-07-20 13:35:21 +00:00
dev
73f9b72d63
Sort output of RateStat.getPeriods().
2011-07-20 13:33:38 +00:00
dev
085ca76bcc
Added support for adding/removing periods to already existing RateStats.
2011-07-20 13:27:44 +00:00
688634695d
javadoc
2011-07-13 14:20:20 +00:00
f173e88787
kill a debug log
2011-07-08 17:05:13 +00:00
43044586d1
* AppContext: Add hasWrapper() method
...
* Shutdown:
- Clear more resources in peer manager, netdb, stat manager,
session key manager, naming service, tunnel dispatcher,
OCMOSJ (result of testing with jvisualvm)
- Don't call wrapper on shutdown (starting two threads) if we
were started with runplain
2011-07-03 13:46:29 +00:00
730965812b
final
2011-06-14 18:08:40 +00:00
7ab95d0144
javadoc
2011-05-23 19:16:33 +00:00
40fd4ccd15
Stats:
...
- Refactor handling of required stats
- Shorten description of required stats
- Improve save messages on configstats.jsp
- Change bw.sendBps and bw.receiveBps stats to bytes, not Kbytes
- Expires directive for graphs
2011-03-21 18:14:58 +00:00
14986fbfa1
* Profiles:
...
- Nicer profile dump
- More efficient profile lookup for display
- Fix dumpprofile NPE
- Change file suffix from .dat to .txt.gz
2011-03-19 17:19:54 +00:00
f96342d33a
backport equals() fix
2011-03-19 16:39:22 +00:00
7b29481124
updates after review
2011-03-01 13:37:40 +00:00
087c7b86de
findbugs core,client,crypto,data,stat,i2np
2011-01-07 00:15:35 +00:00
7ee7cbf660
* Stats: Change stat.full default.to false (saves ~ 1MB)
2010-12-26 12:35:54 +00:00
1e0e24826e
concurrent
2010-11-14 15:01:23 +00:00
3ee85fed30
* Stats: Improve Frequency, enable coalescing; cleanup and javadocs
...
* stats.jsp: Cleanup, more tagging, hide obscure stuff unless ?f=1
2010-11-06 12:33:53 +00:00
3bc2e469cc
remove unnecessaary initializers from constructors
2010-05-16 18:08:24 +00:00