Interface UnitOfWork


@Immutable public interface UnitOfWork

Represents a UnitOfWork. Instances can be created via DataApi.newUnitOfWorkBuilder().

All implementations must be immutable and therefore thread-safe.

See Also: DataApi.newUnitOfWorkBuilder(), DataApi.commitUnitOfWork(UnitOfWork)

Product Retirement Announcement

Salesforce Functions is no longer available for purchase or renewal. To preserve the capabilities that Salesforce Functions provided to your org, deploy an alternative solution before your existing order term ends. See Salesforce Functions Retirement for more information on migrating your functions. Contact your Salesforce Account Executive for more information on Heroku.