what is the use of Singleton pattern in lucene Index write and read Implementation?

Hii got stuck up with lucene Implementation of webMethods.We are migrating into webMethods from java.We are using Singleton pattern& Reentrantread and Write also.kindly tell the easy implementation of it