|
db4o 6.1 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ClientServerConfiguration
Client/Server configuration interface.
Method Summary | |
---|---|
void |
batchMessages(boolean flag)
Configures to batch messages between client and server. |
MessageSender |
getMessageSender()
returns the MessageSender for this Configuration context. |
void |
maxBatchQueueSize(int maxSize)
Configures the maximum memory buffer size for batched message. |
void |
prefetchIDCount(int prefetchIDCount)
Sets the number of IDs to be prefetched for an ObjectSet in C/S mode |
void |
prefetchObjectCount(int prefetchObjectCount)
Sets the number of objects to be prefetched for an ObjectSet in C/S mode |
void |
setMessageRecipient(MessageRecipient messageRecipient)
sets the MessageRecipient to receive Client Server messages. |
void |
singleThreadedClient(boolean flag)
configures the client messaging system to be single threaded or multithreaded. |
void |
timeoutClientSocket(int milliseconds)
configures the time a client waits for a message response from the server. |
void |
timeoutPingClients(int milliseconds)
configures the delay time after which the server starts pinging connected clients to check the connection. |
void |
timeoutServerSocket(int milliseconds)
configures the timeout of the serverside socket. |
Method Detail |
---|
void prefetchIDCount(int prefetchIDCount)
prefetchIDCount
- The number of IDs to be prefetchedvoid prefetchObjectCount(int prefetchObjectCount)
prefetchObjectCount
- The number of objects to be prefetchedvoid setMessageRecipient(MessageRecipient messageRecipient)
messageRecipient
- the MessageRecipient to be usedMessageSender getMessageSender()
void timeoutClientSocket(int milliseconds)
milliseconds
- time in millisecondsvoid timeoutServerSocket(int milliseconds)
milliseconds
- time in millisecondsvoid timeoutPingClients(int milliseconds)
milliseconds
- time in millisecondssingleThreadedClient(boolean)
void singleThreadedClient(boolean flag)
true
for low ressource systems.false
for best asynchronous performance and fast
GUI response.
true
false
flag
- the desired settingvoid batchMessages(boolean flag)
flag
- true for batching messages.void maxBatchQueueSize(int maxSize)
maxSize
, batched
messages will be sent to server.
maxSize
-
|
db4o 6.1 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |