Class JnaPidFactory


  • public class JnaPidFactory
    extends java.lang.Object
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      private static interface  JnaPidFactory.CLibrary  
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private static java.util.function.Supplier<java.lang.String> instance  
    • Constructor Summary

      Constructors 
      Constructor Description
      JnaPidFactory()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.util.function.Supplier<java.lang.String> getInstance()
      Factory method to avoid loading JNA classes every connection.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • instance

        private static java.util.function.Supplier<java.lang.String> instance
    • Constructor Detail

      • JnaPidFactory

        public JnaPidFactory()
    • Method Detail

      • getInstance

        public static java.util.function.Supplier<java.lang.String> getInstance()
        Factory method to avoid loading JNA classes every connection.
        Returns:
        factory that implement PID according to environment.