The storage is typically backed by multiple Java collections (HashMap, TreeMap, etc.). This map returns the map that stores the values which are present in the DHT. If you plan to do transactions (put/get), make sure you do the locking in order to not interfere with other threads that use this map. Although the storage is threadsafe, there may be concurrency issues with respect to transactions (e.g., do a get before a put). Please use {@link StorageLayer#getLockStorage()} for full locking, and {@link StorageLayer#getLockNumber160()}, {@link StorageLayer#getLockNumber320()}, {@link StorageLayer#getLockNumber480()}, {@link StorageLayer#getLockNumber640()} for fine grained locking.
@author Thomas Bocek
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.