Class HikariService

  • All Implemented Interfaces:
    ratpack.server.Service

    public class HikariService
    extends java.lang.Object
    implements ratpack.server.Service
    • Constructor Summary

      Constructors 
      Constructor Description
      HikariService​(com.zaxxer.hikari.HikariDataSource dataSource)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      com.zaxxer.hikari.HikariDataSource getDataSource()  
      void onStop​(ratpack.server.StopEvent event)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface ratpack.server.Service

        getName, onStart
    • Constructor Detail

      • HikariService

        public HikariService​(com.zaxxer.hikari.HikariDataSource dataSource)
    • Method Detail

      • getDataSource

        public com.zaxxer.hikari.HikariDataSource getDataSource()
      • onStop

        public void onStop​(ratpack.server.StopEvent event)
                    throws java.lang.Exception
        Specified by:
        onStop in interface ratpack.server.Service
        Throws:
        java.lang.Exception