Class ShardedManagedMongoDb

  • All Implemented Interfaces:
    org.junit.rules.TestRule

    public class ShardedManagedMongoDb
    extends org.junit.rules.ExternalResource
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected void after()  
      protected void before()  
      void shutdownServer​(int port)  
      void startupServer​(int port)  
      • Methods inherited from class org.junit.rules.ExternalResource

        apply
      • Methods inherited from class java.lang.Object

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

      • ShardedManagedMongoDb

        protected ShardedManagedMongoDb​(ShardedGroup shardedGroup)
    • Method Detail

      • shutdownServer

        public void shutdownServer​(int port)
      • startupServer

        public void startupServer​(int port)
                           throws java.lang.Throwable
        Throws:
        java.lang.Throwable
      • before

        protected void before()
                       throws java.lang.Throwable
        Overrides:
        before in class org.junit.rules.ExternalResource
        Throws:
        java.lang.Throwable
      • after

        protected void after()
        Overrides:
        after in class org.junit.rules.ExternalResource