Commit Graph

12623 Commits

Author SHA1 Message Date
chimp1984
f6be9b0f6b
Use PersistenceManager 2020-10-03 12:48:19 -05:00
chimp1984
4f18577002
Extend PersistableList, remvoe storage 2020-10-03 12:48:19 -05:00
chimp1984
63fe1c9dbd
Remove storage 2020-10-03 12:48:18 -05:00
chimp1984
1e91b09f7d
Remove persist method 2020-10-03 12:48:18 -05:00
chimp1984
2d91c268d0
Remove storage and persist calls. Remove unused methods 2020-10-03 12:48:18 -05:00
chimp1984
8a6b2a77d6
Use PersistenceManager. Make disputeList final 2020-10-03 12:48:18 -05:00
chimp1984
158b7a92f9
Remove storage from dispute. We do persistence from outside now.
Impl. PersistablePayload
Make openingDate final and contr param
2020-10-03 12:48:18 -05:00
chimp1984
8f38de30e9
Use PersistableList as base class 2020-10-03 12:48:18 -05:00
chimp1984
0eb99f77ef
Use PersistenceManager 2020-10-03 12:48:18 -05:00
chimp1984
5d6cbf5e23
Refactor: Move classes to new package 2020-10-03 12:48:18 -05:00
chimp1984
878f64555c
Use PersistenceManager 2020-10-03 12:48:18 -05:00
chimp1984
308c970b68
Use PersistenceManager 2020-10-03 12:48:17 -05:00
chimp1984
80e16a05ef
Use PersistenceManager 2020-10-03 12:48:17 -05:00
chimp1984
074ed6753b
Remove lombok Delegate from PersistableList
Add final
Add setAll method
Remove Iterable interface
2020-10-03 12:48:17 -05:00
chimp1984
9190f17966
Update TradeStatistics2Storage classes 2020-10-03 12:48:17 -05:00
chimp1984
e6211ef9fe
Update TempProposalStore and ProposalStore classes 2020-10-03 12:48:17 -05:00
chimp1984
8781c80fb0
Update AccountAgeWitnessStorage classes 2020-10-03 12:48:17 -05:00
chimp1984
d9a7aacf98
Update SignedWitness classes 2020-10-03 12:48:17 -05:00
chimp1984
dc77b5cab8
Use PersistenceManager 2020-10-03 12:48:17 -05:00
chimp1984
a4acddac4a
Apply generics and super class methods 2020-10-03 12:48:17 -05:00
chimp1984
34d89092ad
Add final at ResourceDataStoreService
Remove clone from SequenceNumberMap.
2020-10-03 12:48:17 -05:00
chimp1984
827775c32c
Add missing import 2020-10-03 12:48:16 -05:00
chimp1984
94944393cf
Use PersistenceManager in HistoricalDataStoreService 2020-10-03 12:48:16 -05:00
chimp1984
0682b991f7
Update ProtectedDataStoreService
Use AtomicReference instead of array, add final
2020-10-03 12:48:16 -05:00
chimp1984
e2f0f61943
Update PersistableNetworkPayloadStore 2020-10-03 12:48:16 -05:00
chimp1984
5a1cd0ee2c
Use PersistableNetworkPayloadStore for AppendOnlyDataStoreService 2020-10-03 12:48:16 -05:00
chimp1984
92b0ea9f13
Use PersistenceManager for MapStoreService (not yet supported for subclasses) 2020-10-03 12:48:16 -05:00
chimp1984
2e55251bcf
Use PersistenceManager for StoreService (not yet supported for subclasses) 2020-10-03 12:48:16 -05:00
chimp1984
3a348d5a0f
Remove ThreadedPersistableEnvelope and use PersistableEnvelope instead
We will not need threading support anymore once we use the new persistenceManager as serialisation is done on the userThread.
2020-10-03 12:48:16 -05:00
chimp1984
d3be8dd48b
Remove UserThreadMappedPersistableEnvelope and use PersistableEnvelope instead
We will not need threading support anymore once we use the new persistenceManager as serialisation is done on the userThread.
2020-10-03 12:48:16 -05:00
chimp1984
35d9338615
Remove UserThreadMappedPersistableList and use PersistableList instead
We will not need threading support anymore once we use the new persistenceManager as serialisation is done on the userThread.
2020-10-03 12:48:15 -05:00
chimp1984
4f3ded6acf
Use PersistenceManager instead of Storage for import/export 2020-10-03 12:48:15 -05:00
chimp1984
93f1108a77
Add PersistenceManager.flushAllDataToDisk to shutdown to write all pending data to disk
Use new readAllPersisted method instead of setupPersistedDataHosts. Run read tasks in a thread in parallel.

Read is only done at startup.

Remove unused restart method
2020-10-03 12:48:15 -05:00
chimp1984
c245026eff
Remove Storage and FileManager from logback 2020-10-03 12:48:15 -05:00
chimp1984
fd0cc63e7c
Refactor: use FileUtil.removeAndBackupFile instead of FileManager.removeAndBackupFile 2020-10-03 12:48:15 -05:00
chimp1984
937c006d73
Add PersistenceManager class 2020-10-03 12:48:15 -05:00
chimp1984
92c9c3cd7e
Add getDefaultStorageFileName method 2020-10-03 12:48:15 -05:00
chimp1984
85b33bcfce
Remove awaitTermination
Remove UserThread.execute on shutdown
Rename threadname
2020-10-03 12:48:15 -05:00
chimp1984
6f6836f733
Refactor: Add removeAndBackupFile method 2020-10-03 12:48:15 -05:00
chimp1984
d27e4dc249
Refactor: Rename fields and methods, return early 2020-10-03 12:48:14 -05:00
chimp1984
802dcad2fb
Refactor: Rename CorruptedDatabaseFilesHandler 2020-10-03 12:48:14 -05:00
chimp1984
cda9d9eccf
Refactor: Move other 2 classes to file package 2020-10-03 12:48:14 -05:00
chimp1984
23507102dd
Refactor: Move CorruptedDatabaseFilesHandler 2020-10-03 12:48:14 -05:00
chimp1984
8aff1f8665
Refactor: Move FileUtil 2020-10-03 12:48:14 -05:00
sqrrm
f051a03d29
Merge pull request #4559 from ghubstan/cli-create-offer
Build out 'createoffer' API method
2020-10-03 17:04:11 +02:00
ghubstan
d3d6d98666
Revert all changes since commit d55114e
Revert Task.java back to the state it was in prior to
my attempts to make it work for passing error msgs to a
gRPC CLI running 'placeoffer'.  Adjust the affected test
accordingly.
2020-10-03 11:55:58 -03:00
ghubstan
723fc8fc08
Skip over method name in args loop, start at i=1 2020-10-02 18:11:25 -03:00
ghubstan
c71ad8489c
Change 'break' to 'return' at end of switch. 2020-10-02 17:57:31 -03:00
sqrrm
30f44919fc
Merge pull request #4586 from chimp1984/reduce-initial-date-request
Reduce initial data request
2020-10-02 22:23:56 +02:00
chimp1984
807b9fc5be
Remove unused method, fix typo, remove unneeded annotations 2020-10-02 13:29:35 -05:00