Mercurial > jhg
comparison 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 |
comparison
equal
deleted
inserted
replaced
337:f377f833b780 | 338:3cfa4d908fc9 |
---|---|
29 * @author TMate Software Ltd. | 29 * @author TMate Software Ltd. |
30 */ | 30 */ |
31 @Experimental(reason="Work in progress") | 31 @Experimental(reason="Work in progress") |
32 public interface SessionContext { | 32 public interface SessionContext { |
33 LogFacility getLog(); | 33 LogFacility getLog(); |
34 | |
35 /** | |
36 * LIKELY TO CHANGE TO STANDALONE CONFIGURATION OBJECT | |
37 */ | |
38 Object getProperty(String name, Object defaultValue); | |
34 } | 39 } |