| Package | Description |
|---|---|
| com.hammurapi.common.concurrent | |
| com.hammurapi.common.concurrent.transactions |
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractPropertySet<KP,KE> |
class |
AbstractSubSet<KP> |
class |
LocalAbstractPropertySet<KP,KE>
Property set which uses in-memory collections and reentrant read-write lock
|
class |
LocalStringPropertySet |
class |
StringSubSet |
| Modifier and Type | Field and Description |
|---|---|
protected PropertySet<KP>[] |
AbstractPropertySet.shadows |
| Modifier and Type | Method and Description |
|---|---|
PropertySet<String> |
StringSubSet.createVersion() |
PropertySet<String> |
LocalStringPropertySet.createVersion() |
PropertySet<KP> |
AbstractSubSet.createVersion() |
PropertySet<K> |
InvocationImpl.getPropertySet() |
PropertySet<K> |
Invocation.getPropertySet() |
protected PropertySet<KP> |
AbstractPropertySet.subset(KE[] prefix,
int idx,
boolean create) |
PropertySet<KP> |
PropertySet.subset(KP prefix) |
PropertySet<KP> |
AbstractSubSet.subset(KP prefix) |
PropertySet<KP> |
AbstractPropertySet.subset(KP prefix) |
| Modifier and Type | Method and Description |
|---|---|
protected Map<KE,PropertySet<KP>> |
LocalAbstractPropertySet.getMounts() |
protected abstract Map<KE,PropertySet<KP>> |
AbstractPropertySet.getMounts() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
AbstractPropertySet.mount(KE[] path,
int idx,
PropertySet<KP> source) |
void |
PropertySet.mount(KP prefix,
PropertySet<KP> source)
Mounts source property set at specified prefix.
|
void |
AbstractSubSet.mount(KP prefix,
PropertySet<KP> source) |
void |
AbstractPropertySet.mount(KP prefix,
PropertySet<KP> source) |
void |
PropertySet.setAll(PropertySet<KP> source)
Copies all entries from the source property set to self.
|
void |
AbstractSubSet.setAll(PropertySet<KP> source) |
void |
AbstractPropertySet.setAll(PropertySet<KP> source) |
void |
InvocationImpl.setPropertySet(PropertySet<K> propertySet) |
| Modifier and Type | Method and Description |
|---|---|
void |
PropertySet.setInvocable(KP key,
Invocable<PropertySet<KP>,?,KP,?> invocable)
Convenience method to set invocable.
|
void |
AbstractSubSet.setInvocable(KP key,
Invocable<PropertySet<KP>,?,KP,?> invocable) |
void |
AbstractPropertySet.setInvocable(KP key,
Invocable<PropertySet<KP>,?,KP,?> invocable) |
| Modifier and Type | Method and Description |
|---|---|
PropertySet<KP> |
AbstractTransactionalProcessor.createPropertySet(Context context,
PropertySet<KP>... chain) |
protected abstract PropertySet<KP> |
AbstractTransactionalProcessor.createPropertySet(ExecutorService executorService,
Context context,
PropertySet<KP>... chain) |
protected PropertySet<String> |
StandaloneTransactionalProcessor.createPropertySet(ExecutorService executorService,
Context context,
PropertySet<String>... chain) |
PropertySet<KP> |
ExecutionContext.createPropertySet(PropertySet<KP>... chain) |
| Modifier and Type | Method and Description |
|---|---|
PropertySet<KP> |
AbstractTransactionalProcessor.createPropertySet(Context context,
PropertySet<KP>... chain) |
protected abstract PropertySet<KP> |
AbstractTransactionalProcessor.createPropertySet(ExecutorService executorService,
Context context,
PropertySet<KP>... chain) |
protected PropertySet<String> |
StandaloneTransactionalProcessor.createPropertySet(ExecutorService executorService,
Context context,
PropertySet<String>... chain) |
PropertySet<KP> |
ExecutionContext.createPropertySet(PropertySet<KP>... chain) |
<V> Future<V> |
ExecutionContext.execute(Command<KP,V> command,
Context context,
PropertySet<KP> properties,
Object... args)
Executes command either in the same thread on in a background thread but in the context of the same transaction.
|
V |
Command.execute(ExecutionContext<KP> context,
PropertySet<KP> propertySet,
Object... args) |
<V> V |
AbstractTransactionalProcessor.process(Command<KP,V> command,
Context context,
PropertySet<KP> propertySet,
Object... args)
Transactionally processes the command.
|