Interface ClientConfiguration

    • Method Detail

      • prefetchIDCount

        void prefetchIDCount​(int prefetchIDCount)
        Sets the number of IDs to be pre-allocated in the database for new objects created on the client.
        Parameters:
        prefetchIDCount - The number of IDs to be prefetched
      • prefetchObjectCount

        void prefetchObjectCount​(int prefetchObjectCount)
        Sets the number of objects to be prefetched for an ObjectSet.
        Parameters:
        prefetchObjectCount - The number of objects to be prefetched
      • messageSender

        MessageSender messageSender()
        returns the MessageSender for this Configuration context. This setting should be used on the client side.
        Returns:
        MessageSender
      • prefetchDepth

        void prefetchDepth​(int prefetchDepth)
        Sets the depth to which prefetched objects will be activated.
      • prefetchSlotCacheSize

        void prefetchSlotCacheSize​(int slotCacheSize)
        Sets the slot cache size to the given value.
        Parameters:
        slotCacheSize -
      • timeoutClientSocket

        void timeoutClientSocket​(int milliseconds)
        configures the time a client waits for a message response from the server.

        Default value: 600000ms (10 minutes)

        It is recommended to use the same values for timeoutClientSocket(int) and ServerConfiguration.timeoutServerSocket(int).
        Parameters:
        milliseconds - time in milliseconds