Пример #1
0
 /*internal*/
 public ReliableRAMFile(ReliableRAMDirectory directory, string name)
 {
     MapName = name;
     this.directory = directory;
 }
Пример #2
0
        protected override ICommunicationListener CreateCommunicationListener()
        {
            // may as well set up the objects here
            Analyzer = new WhitespaceAnalyzer();

            Index = new Lucene.Net.Store.ReliableRAMDirectory();
            ReliableRAMDirectory.StateManager = this.StateManager;

            return new ServiceCommunicationListener<SearchFabricIndex>(this);
        }