com.hazelcast.core.server

## Class StartServer

- java.lang.Object
- - com.hazelcast.core.server.StartServer

-     public final class StartServer
      extends Object

  Starts a Hazelcast server.

- - ### Method Summary

    All Methods Static Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `static void` | `main(String[] args)` Creates a server instance of Hazelcast.

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Method Detail

    - #### main

          public static void main(String[] args)
                           throws FileNotFoundException,
                                  UnsupportedEncodingException

      Creates a server instance of Hazelcast.

      If user sets the system property "print.port", the server writes the port number of the Hazelcast instance to a file. The file name is the same as the "print.port" property.

      Parameters:
        `args` - none
      Throws:
        `FileNotFoundException`
        `UnsupportedEncodingException`

Copyright © 2020. All rights reserved.