forked from Qortal/qortal
StoragePolicy enum moved to new ArbitraryDataStorageManager class
This commit is contained in:
parent
28fb11068e
commit
4882cc92a8
@ -42,14 +42,6 @@ public class ArbitraryDataManager extends Thread {
|
||||
|
||||
private volatile boolean isStopping = false;
|
||||
|
||||
public enum StoragePolicy {
|
||||
FOLLOWED_AND_VIEWED,
|
||||
FOLLOWED,
|
||||
VIEWED,
|
||||
ALL,
|
||||
NONE
|
||||
}
|
||||
|
||||
/**
|
||||
* Map of recent requests for ARBITRARY transaction data file lists.
|
||||
* <p>
|
||||
|
@ -0,0 +1,15 @@
|
||||
package org.qortal.controller.arbitrary;
|
||||
|
||||
public class ArbitraryDataStorageManager {
|
||||
|
||||
public enum StoragePolicy {
|
||||
FOLLOWED_AND_VIEWED,
|
||||
FOLLOWED,
|
||||
VIEWED,
|
||||
ALL,
|
||||
NONE
|
||||
}
|
||||
|
||||
public ArbitraryDataStorageManager() {
|
||||
}
|
||||
}
|
@ -21,7 +21,7 @@ import org.eclipse.persistence.exceptions.XMLMarshalException;
|
||||
import org.eclipse.persistence.jaxb.JAXBContextFactory;
|
||||
import org.eclipse.persistence.jaxb.UnmarshallerProperties;
|
||||
import org.qortal.block.BlockChain;
|
||||
import org.qortal.controller.arbitrary.ArbitraryDataManager.*;
|
||||
import org.qortal.controller.arbitrary.ArbitraryDataStorageManager.*;
|
||||
import org.qortal.crosschain.Bitcoin.BitcoinNet;
|
||||
import org.qortal.crosschain.Litecoin.LitecoinNet;
|
||||
import org.qortal.crosschain.Dogecoin.DogecoinNet;
|
||||
|
Loading…
Reference in New Issue
Block a user