org.infinispan.configuration.cache
Class SyncConfiguration

java.lang.Object
  extended by org.infinispan.configuration.cache.SyncConfiguration

public class SyncConfiguration
extends Object

If configured all communications are synchronous, in that whenever a thread sends a message sent over the wire, it blocks until it receives an acknowledgment from the recipient. SyncConfig is mutually exclusive with the AsyncConfig.


Method Summary
 boolean equals(Object o)
           
 int hashCode()
           
 long replTimeout()
          This is the timeout used to wait for an acknowledgment when making a remote call, after which the call is aborted and an exception is thrown.
 SyncConfiguration replTimeout(long l)
          This is the timeout used to wait for an acknowledgment when making a remote call, after which the call is aborted and an exception is thrown.
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Method Detail

replTimeout

public long replTimeout()
This is the timeout used to wait for an acknowledgment when making a remote call, after which the call is aborted and an exception is thrown.


replTimeout

public SyncConfiguration replTimeout(long l)
This is the timeout used to wait for an acknowledgment when making a remote call, after which the call is aborted and an exception is thrown.


toString

public String toString()
Overrides:
toString in class Object

equals

public boolean equals(Object o)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

-->

Copyright © 2012 JBoss, a division of Red Hat. All Rights Reserved.