public interface ClientConfiguration extends NetworkingConfigurationProvider, CommonConfigurationProvider
| Modifier and Type | Method and Description |
|---|---|
void |
addConfigurationItem(ClientConfigurationItem configItem)
adds ConfigurationItems to be applied when
a networking
ClientObjectContainer is opened. |
MessageSender |
messageSender()
returns the MessageSender for this Configuration context.
|
void |
prefetchDepth(int prefetchDepth)
Sets the depth to which prefetched objects will be activated.
|
void |
prefetchIDCount(int prefetchIDCount)
Sets the number of IDs to be pre-allocated in the database for new
objects created on the client.
|
void |
prefetchObjectCount(int prefetchObjectCount)
Sets the number of objects to be prefetched for an ObjectSet.
|
void |
prefetchSlotCacheSize(int slotCacheSize)
Sets the slot cache size to the given value.
|
void |
timeoutClientSocket(int milliseconds)
configures the time a client waits for a message response
from the server.
|
networkingcommonvoid prefetchIDCount(int prefetchIDCount)
prefetchIDCount - The number of IDs to be prefetchedvoid prefetchObjectCount(int prefetchObjectCount)
prefetchObjectCount - The number of objects to be prefetchedMessageSender messageSender()
void prefetchDepth(int prefetchDepth)
value - void prefetchSlotCacheSize(int slotCacheSize)
slotCacheSize - void timeoutClientSocket(int milliseconds)
timeoutClientSocket(int)
and #timeoutServerSocket(int).
milliseconds - time in millisecondsvoid addConfigurationItem(ClientConfigurationItem configItem)
ClientObjectContainer is opened.configItem - the ClientConfigurationItem