Package | Description |
---|---|
com.amazon.carbonado |
Main user-level interfaces, classes, and annotations for Carbonado.
|
com.amazon.carbonado.capability |
Common capabilities for repositories.
|
com.amazon.carbonado.gen |
Storable code generation support intended for use by repository implementations.
|
com.amazon.carbonado.spi |
Service Provider Interface for Carbonado.
|
Modifier and Type | Method and Description |
---|---|
<S extends Storable> |
TriggerFactory.triggerFor(java.lang.Class<S> type)
Return an appropriate trigger for the given type, or null if none.
|
Modifier and Type | Method and Description |
---|---|
boolean |
Storage.addTrigger(Trigger<? super S> trigger)
Register a trigger which will be called for overridden methods in the given
trigger implementation.
|
boolean |
Storage.removeTrigger(Trigger<? super S> trigger)
Remove a trigger which was registered earlier.
|
Modifier and Type | Class and Description |
---|---|
static class |
ResyncCapability.Listener<S>
Trigger which is invoked as storables get re-sync'd.
|
Modifier and Type | Method and Description |
---|---|
Trigger<? super S> |
TriggerSupport.getDeleteTrigger()
Returns a trigger which must be run for all delete operations.
|
Trigger<? super S> |
TriggerSupport.getInsertTrigger()
Returns a trigger which must be run for all insert operations.
|
Trigger<? super S> |
TriggerSupport.getLoadTrigger()
Returns a trigger which must be run for all load and fetch operations.
|
Trigger<? super S> |
TriggerSupport.getUpdateTrigger()
Returns a trigger which must be run for all update operations.
|
Modifier and Type | Class and Description |
---|---|
class |
TriggerManager<S extends Storable>
Used by Storage implementations to manage triggers and consolidate them into
single logical triggers.
|
Modifier and Type | Method and Description |
---|---|
Trigger<? super S> |
TriggerManager.getDeleteTrigger()
Returns a consolidated trigger to call for delete operations, or null if
none.
|
Trigger<? super S> |
TriggerManager.getInsertTrigger()
Returns a consolidated trigger to call for insert operations, or null if
none.
|
Trigger<? super S> |
TriggerManager.getLoadTrigger()
Returns a consolidated trigger to call for load operations, or null if
none.
|
<S extends Storable> |
LobEngine.getSupportTrigger(java.lang.Class<S> type,
int blockSize)
Returns a Trigger for binding to this LobEngine.
|
Trigger<? super S> |
TriggerManager.getUpdateTrigger()
Returns a consolidated trigger to call for update operations, or null if
none.
|
Modifier and Type | Method and Description |
---|---|
boolean |
TriggerManager.addTrigger(Trigger<? super S> trigger) |
boolean |
TriggerManager.removeTrigger(Trigger<? super S> trigger) |
Copyright © 2006-2013 Amazon Technologies, Inc.. All Rights Reserved.