/// <summary>
 /// Construtor usado por classes filhas.
 /// </summary>
 protected MmfStorageProvider()
 {
     _viewCount     = 8;
     _viewSize      = 0x400000;
     _initialSizeMB = 0x20;
     _itemDict      = new Hashtable(base.DEFAULT_CAPACITY);
     _internalStore = new MmfStorage();
 }
 public MmfStorageProvider(IDictionary properties, bool evictinEnabled)
 {
     _viewCount     = 8;
     _viewSize      = 0x400000;
     _initialSizeMB = 0x20;
     _itemDict      = new Hashtable(base.DEFAULT_CAPACITY);
     _internalStore = new MmfStorage();
     this.Initialize(properties, evictinEnabled);
 }
Example #3
0
 /// <summary>
 /// Overloaded constructor. Takes the properties as a map.
 /// </summary>
 /// <param name="properties">properties collection</param>
 public MmfStorageProvider(IDictionary properties, bool evictinEnabled)
 {
     _itemDict      = (new Hashtable(DEFAULT_CAPACITY));
     _internalStore = new MmfStorage();
     Initialize(properties, evictinEnabled);
 }
Example #4
0
 /// <summary>
 /// Default constructor.
 /// </summary>
 protected MmfStorageProvider()
 {
     _itemDict      = (new Hashtable(DEFAULT_CAPACITY));
     _internalStore = new MmfStorage();
 }