title: How to run different methods parallely
body: <p>I have one java method which contains 5 different internal methods. For performance improvement, I want to call these methods parallely.</p>
  
  <p>e.g. run method1, method2, ... method5 parallel using thread.</p>
  
  <pre><code>private void getInformation() throws SQLException,
              ClassNotFoundException, NamingException {
      method1();
      method2();
      method3();
      method4();
      method5();
  }
  </code></pre>
  
  <p>but all these 5 methods have different business logic.</p>