Class PerSessionDirectoryFactory

java.lang.Object
org.apache.lucene.replicator.PerSessionDirectoryFactory
All Implemented Interfaces:
ReplicationClient.SourceDirectoryFactory

public class PerSessionDirectoryFactory extends Object implements ReplicationClient.SourceDirectoryFactory
A ReplicationClient.SourceDirectoryFactory which returns FSDirectory under a dedicated session directory. When a session is over, the entire directory is deleted.
WARNING: This API is experimental and might change in incompatible ways in the next release.