GemFire 7.0.1

Class TransactionDataNotColocatedException

  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:

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.

See Also:
Serialized Form

Constructor Summary
TransactionDataNotColocatedException(String s)
TransactionDataNotColocatedException(String msg, Throwable cause)
Method Summary
Methods inherited from class com.gemstone.gemfire.cache.CacheException
Methods inherited from class com.gemstone.gemfire.GemFireException
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


public TransactionDataNotColocatedException(String s)


public TransactionDataNotColocatedException(String msg,
                                            Throwable cause)

GemFire 7.0.1

Copyright © 1997-2013 VMware, Inc. All rights reserved.