Mercurial > jhg
diff src/org/tmatesoft/hg/core/SessionContext.java @ 338:3cfa4d908fc9
Add options to control DataAccessProvider, allow to turn off use of file memory mapping in particular to solve potential sharing violation (os file handle gets released on MappedByteByffer being GC'd, not on FileChannel.close())
author | Artem Tikhomirov <tikhomirov.artem@gmail.com> |
---|---|
date | Tue, 15 Nov 2011 04:47:03 +0100 |
parents | 981f9f50bb6c |
children | 909306e412e2 |
line wrap: on
line diff
--- a/src/org/tmatesoft/hg/core/SessionContext.java Tue Nov 15 03:07:28 2011 +0100 +++ b/src/org/tmatesoft/hg/core/SessionContext.java Tue Nov 15 04:47:03 2011 +0100 @@ -31,4 +31,9 @@ @Experimental(reason="Work in progress") public interface SessionContext { LogFacility getLog(); + + /** + * LIKELY TO CHANGE TO STANDALONE CONFIGURATION OBJECT + */ + Object getProperty(String name, Object defaultValue); }