public abstract int id
This identifier must be unique across all resource types and should be within the range
-128 to 127. Core Atomix resource types are typically identified with
negative numbers, so the range 1 through 127 is reserved for user-provided
resource types.
public abstract Class<? extends ResourceFactory<?>> factory
Resources must provide a factory class for constructing instances of the resource for a given configuration. The factory will define the resource instance type and state machine to construct based on the configuration.
Copyright © 2013–2016. All rights reserved.