You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ignite.apache.org by "Vladimir Ozerov (JIRA)" <ji...@apache.org> on 2018/11/15 09:13:00 UTC

[jira] [Created] (IGNITE-10271) Document transaction labels

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)