GemFire 6.5.1

com.gemstone.gemfire.cache
Class TransactionDataNotColocatedException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by com.gemstone.gemfire.GemFireException
                  extended by com.gemstone.gemfire.cache.CacheException
                      extended by com.gemstone.gemfire.cache.TransactionException
                          extended by com.gemstone.gemfire.cache.TransactionDataNotColocatedException
All Implemented Interfaces:
Serializable

public class TransactionDataNotColocatedException
extends TransactionException

Indicates that an attempt was made to transactionally modify multiple keys that are not colocated on the same data host. This can be thrown while doing transactional operations or during commit.

This exception only occurs when a transaction is hosted on a member that is not the initiator of the transaction.

Note: a rebalance can cause this exception to be thrown for data that is usually colocated. This is because data can be moved from one node to another during the time between the original transactional operations and the commit.

Since:
6.5
See Also:
Serialized Form

Constructor Summary
TransactionDataNotColocatedException(String s)
           
 
Method Summary
 
Methods inherited from class com.gemstone.gemfire.cache.CacheException
toString
 
Methods inherited from class com.gemstone.gemfire.GemFireException
getRootCause
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TransactionDataNotColocatedException

public TransactionDataNotColocatedException(String s)

GemFire 6.5.1

Copyright © 2002-2010 GemStone Systems, Inc. All Rights Reserved.