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