|
db4o 8.0 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ClientConfiguration
Configuration interface for db4o networking clients.
Method Summary | |
---|---|
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. |
Methods inherited from interface com.db4o.cs.config.NetworkingConfigurationProvider |
---|
networking |
Methods inherited from interface com.db4o.config.CommonConfigurationProvider |
---|
common |
Method Detail |
---|
void 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
|
db4o 8.0 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |