Poller(UnixFileSystem fs,SolarisWatchService watcher,int port){
  this.watcher=watcher;
  this.port=port;
  this.bufferAddress=unsafe.allocateMemory(SIZEOF_PORT_EVENT * MAX_EVENT_COUNT);
  this.fileKey2WatchKey=new HashMap<UnixFileKey,SolarisWatchKey>();
  this.object2Node=new HashMap<Long,Node>();
}

Poller ( UnixFileSystem fs , SolarisWatchService watcher , int port ) { this . watcher = watcher ; this . port = port ; this . bufferAddress = unsafe . allocateMemory ( SIZEOF_PORT_EVENT * MAX_EVENT_COUNT ) ; this . fileKey2WatchKey = new HashMap < UnixFileKey , SolarisWatchKey > ( ) ; this . object2Node = new HashMap < Long , Node > ( ) ; }
create a new instance
