org.multiverse.api.exceptions
Class SpeculativeConfigurationFailure
java.lang.Object
java.lang.Throwable
java.lang.Error
org.multiverse.api.exceptions.ControlFlowError
org.multiverse.api.exceptions.SpeculativeConfigurationFailure
- All Implemented Interfaces:
- java.io.Serializable
public class SpeculativeConfigurationFailure
- extends ControlFlowError
A ControlFlowError that indicates that current transaction implementation can't deal
with more transactional objects than it can handle. This Error is useful for the STM
to speculative selection of a better performing implementation. So it can start with a very
fast transaction that only is able to deal with one or a few transactional objects and it
able to grow to more advanced but slower transaction implementations
- Author:
- Peter Veentjer.
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
reuse
public static final boolean reuse
INSTANCE
public static final SpeculativeConfigurationFailure INSTANCE
SpeculativeConfigurationFailure
public SpeculativeConfigurationFailure()
SpeculativeConfigurationFailure
public SpeculativeConfigurationFailure(java.lang.String message)
SpeculativeConfigurationFailure
public SpeculativeConfigurationFailure(java.lang.String message,
java.lang.Throwable cause)
SpeculativeConfigurationFailure
public SpeculativeConfigurationFailure(java.lang.Throwable cause)
create
public static SpeculativeConfigurationFailure create()
Copyright © 2008-2010 Multiverse. All Rights Reserved.