Vladimir Ozerov created IGNITE-10271:
----------------------------------------

             Summary: Document transaction labels
                 Key: IGNITE-10271
                 URL: https://issues.apache.org/jira/browse/IGNITE-10271
             Project: Ignite
          Issue Type: Task
          Components: documentation
            Reporter: Vladimir Ozerov
            Assignee: Artem Budnikov


Added in IGNITE-9274. Label can be defined for transaction, which is then 
passed to cache events. Needed for monitoring.

Usage:
{code}
try (Transaction tx = node.transactions().withLabel("myLabel").txStart()) {
    ...
}
{code}

When label is passed this way, it will be reflected in {{CacheEvent.txLabel()}}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to