Mercurial > hg > blitz_condensed
comparison config/blitz.config @ 12:e3649bdf4973
Updated to JE 3.3.82.
author | Dan Creswell <dan.creswell@gmail.com> |
---|---|
date | Sun, 14 Jun 2009 18:00:11 +0100 |
parents | 3dc0c5604566 |
children | 3d83b0e0b75a |
comparison
equal
deleted
inserted
replaced
11:e20d9146f32e | 12:e3649bdf4973 |
---|---|
67 // Location to store meta info and entrys. | 67 // Location to store meta info and entrys. |
68 // NOTE: Each concurrent Blitz instance should use a different directory | 68 // NOTE: Each concurrent Blitz instance should use a different directory |
69 // for it's logs and persistent state - if this isn't done | 69 // for it's logs and persistent state - if this isn't done |
70 // "bad things will happen" (TM) | 70 // "bad things will happen" (TM) |
71 // | 71 // |
72 persistDir = "/Users/dan/src/jini/blitz_2fcs/dbfiles_dancres"; | 72 persistDir = "/Users/dan/src/jini/blitzjavaspaces/dbfiles_dancres"; |
73 | 73 |
74 // Location of log files - SHOULD BE DIFFERENT FROM ABOVE | 74 // Location of log files - SHOULD BE DIFFERENT FROM ABOVE |
75 // | 75 // |
76 logDir = "/Volumes/Data/log/dan/prevlog/"; | 76 logDir = "/Volumes/Data/log/dan/prevlog/"; |
77 | 77 |
155 // prevent deadlock. Such transactions can fail and require aborting | 155 // prevent deadlock. Such transactions can fail and require aborting |
156 // should they fail to get a lock. When this happens, the thread | 156 // should they fail to get a lock. When this happens, the thread |
157 // attempting the transaction will backoff by an amount of time dictated | 157 // attempting the transaction will backoff by an amount of time dictated |
158 // by base_backoff + Random(jitter) ms which should allow the conflicting | 158 // by base_backoff + Random(jitter) ms which should allow the conflicting |
159 // transaction time to complete. Format is {base_backoff, jitter} | 159 // transaction time to complete. Format is {base_backoff, jitter} |
160 loadBackoff = new int[] {20, 50}; | 160 loadBackoff = new int[] {20, 20}; |
161 | 161 |
162 // The maximum allowable lease time for entries and notify registrations | 162 // The maximum allowable lease time for entries and notify registrations |
163 // To permit Lease.FOREVER, set the LeaseBound = 0. | 163 // To permit Lease.FOREVER, set the LeaseBound = 0. |
164 // To deny Lease.FOREVER and set an upper limit on lease time set the | 164 // To deny Lease.FOREVER and set an upper limit on lease time set the |
165 // LeaseBound to a positive non-zero value in milliseconds | 165 // LeaseBound to a positive non-zero value in milliseconds |
214 // notifytest storageModel = new Persistent(true, true, 0, true, 10, 32768); | 214 // notifytest storageModel = new Persistent(true, true, 0, true, 10, 32768); |
215 | 215 |
216 // For concurrent benchmark or application use non-zero log buffering time | 216 // For concurrent benchmark or application use non-zero log buffering time |
217 // storageModel = new Persistent(true, true, 10, true, 10000, 32768); | 217 // storageModel = new Persistent(true, true, 10, true, 10000, 32768); |
218 | 218 |
219 statsDump = 10000; | 219 statsDump = 60000; |
220 | 220 |
221 // Enable standard destroy semantics - by default, Blitz does NOT | 221 // Enable standard destroy semantics - by default, Blitz does NOT |
222 // delete state at destroy. Enable that feature here and invoke | 222 // delete state at destroy. Enable that feature here and invoke |
223 // BlitzAdmin::shutdown to perform a shutdown whilst retaining state | 223 // BlitzAdmin::shutdown to perform a shutdown whilst retaining state |
224 compliantDestroy = new Boolean(false); | 224 compliantDestroy = new Boolean(false); |