Package com.biglybt.plugin.dht.impl
Class DHTPluginStorageManager.diversification
- java.lang.Object
-
- com.biglybt.plugin.dht.impl.DHTPluginStorageManager.diversification
-
- Enclosing class:
- DHTPluginStorageManager
protected static class DHTPluginStorageManager.diversification extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description private long
expiry
private int[]
fixed_put_offsets
private HashWrapper
key
private DHTPluginStorageManager
manager
private byte
type
-
Constructor Summary
Constructors Modifier Constructor Description protected
diversification(DHTPluginStorageManager _manager, HashWrapper _key, byte _type)
protected
diversification(DHTPluginStorageManager _manager, HashWrapper _key, byte _type, long _expiry, int[] _fixed_put_offsets)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected static DHTPluginStorageManager.diversification
deserialise(DHTPluginStorageManager _manager, java.util.Map _map)
protected long
getExpiry()
protected HashWrapper
getKey()
protected java.util.List
getKeys(boolean put, boolean exhaustive)
protected byte
getType()
protected java.util.Map
serialise()
-
-
-
Field Detail
-
manager
private DHTPluginStorageManager manager
-
key
private HashWrapper key
-
type
private byte type
-
expiry
private long expiry
-
fixed_put_offsets
private int[] fixed_put_offsets
-
-
Constructor Detail
-
diversification
protected diversification(DHTPluginStorageManager _manager, HashWrapper _key, byte _type)
-
diversification
protected diversification(DHTPluginStorageManager _manager, HashWrapper _key, byte _type, long _expiry, int[] _fixed_put_offsets)
-
-
Method Detail
-
serialise
protected java.util.Map serialise()
-
deserialise
protected static DHTPluginStorageManager.diversification deserialise(DHTPluginStorageManager _manager, java.util.Map _map)
-
getKey
protected HashWrapper getKey()
-
getExpiry
protected long getExpiry()
-
getType
protected byte getType()
-
getKeys
protected java.util.List getKeys(boolean put, boolean exhaustive)
-
-