コード例 #1
0
        /// <summary>
        /// Retrieve list of consistent Lucene index files for read only partition.
        /// </summary>
        /// <returns> the iterator over index files. </returns>
        /// <exception cref="IOException"> if any IO operation fails. </exception>
//JAVA TO C# CONVERTER WARNING: Method 'throws' clauses are not available in C#:
//ORIGINAL LINE: public org.neo4j.graphdb.ResourceIterator<java.io.File> snapshot() throws java.io.IOException
        public override ResourceIterator <File> Snapshot()
        {
            return(LuceneIndexSnapshots.forIndex(PartitionFolder, DirectoryConflict));
        }
コード例 #2
0
        /// <summary>
        /// {@inheritDoc}
        /// </summary>
//JAVA TO C# CONVERTER WARNING: Method 'throws' clauses are not available in C#:
//ORIGINAL LINE: public org.neo4j.graphdb.ResourceIterator<java.io.File> snapshot() throws java.io.IOException
        public override ResourceIterator <File> Snapshot()
        {
            return(LuceneIndexSnapshots.forIndex(PartitionFolder, _indexWriter));
        }