public class BinaryNoopMetadataHandler extends Object implements BinaryMetadataHandler
| Modifier and Type | Method and Description |
|---|---|
void |
addMeta(int typeId,
BinaryType meta,
boolean failIfUnregistered)
Adds a new or updates an existing metadata to the latest version.
|
void |
addMetaLocally(int typeId,
BinaryType meta,
boolean failIfUnregistered)
Adds meta data locally on current node without sending any messages.
|
static BinaryNoopMetadataHandler |
instance() |
Collection<BinaryType> |
metadata()
Gets all metadata known to the node.
|
BinaryType |
metadata(int typeId)
Gets metadata for provided type ID.
|
BinaryType |
metadata(int typeId,
int schemaId)
Gets metadata for provided type ID and schema ID.
|
BinaryMetadata |
metadata0(int typeId)
Gets unwrapped metadata for provided type ID.
|
public static BinaryNoopMetadataHandler instance()
public void addMeta(int typeId,
BinaryType meta,
boolean failIfUnregistered)
throws BinaryObjectException
MetadataUpdateProposedMessage javadoc for detailed protocol description.addMeta in interface BinaryMetadataHandlertypeId - Type ID.meta - Metadata.failIfUnregistered - Fail if unregistered.BinaryObjectException - In case of error.public void addMetaLocally(int typeId,
BinaryType meta,
boolean failIfUnregistered)
throws BinaryObjectException
addMetaLocally in interface BinaryMetadataHandlertypeId - Type ID.meta - Metadata.failIfUnregistered - Fail if unregistered.BinaryObjectException - In case of error.public BinaryType metadata(int typeId) throws BinaryObjectException
metadata in interface BinaryMetadataHandlertypeId - Type ID.BinaryObjectException - In case of error.public BinaryMetadata metadata0(int typeId) throws BinaryObjectException
metadata0 in interface BinaryMetadataHandlertypeId - Type ID.BinaryObjectException - In case of error.public BinaryType metadata(int typeId, int schemaId) throws BinaryObjectException
metadata in interface BinaryMetadataHandlertypeId - Type ID.schemaId - Schema ID.BinaryObjectException - In case of error.public Collection<BinaryType> metadata() throws BinaryObjectException
metadata in interface BinaryMetadataHandlerBinaryObjectException - If failed.
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.11.1 Release Date : December 20 2021