test_class.declarator: marshaller
test_class.modifier: private
test_class.original_string: private JdkMarshaller marshaller;
test_class.type: JdkMarshaller
test_class.var_name: marshaller
test_class.declarator: bridge
test_class.modifier: private
test_class.original_string: private InMemoryCachedDistributedMetaStorageBridge bridge;
test_class.type: InMemoryCachedDistributedMetaStorageBridge
test_class.var_name: bridge
test_class.file: modules/core/src/test/java/org/apache/ignite/internal/processors/metastorage/persistence/InMemoryCachedDistributedMetaStorageBridgeTest.java
test_class.identifier: InMemoryCachedDistributedMetaStorageBridgeTest
test_case.body: @Test
      public void testWriteFullNodeData() throws Exception {
          bridge.write("oldKey", marshaller.marshal("oldVal"));
  
          bridge.writeFullNodeData(new DistributedMetaStorageClusterNodeData(
              DistributedMetaStorageVersion.INITIAL_VERSION,
              new DistributedMetaStorageKeyValuePair[] {
                  new DistributedMetaStorageKeyValuePair("newKey", marshaller.marshal("newVal"))
              },
              DistributedMetaStorageHistoryItem.EMPTY_ARRAY,
              null
          ));
  
          assertNull(bridge.read("oldKey"));
          assertEquals("newVal", bridge.read("newKey"));
      }
test_case.class_method_signature: InMemoryCachedDistributedMetaStorageBridgeTest.testWriteFullNodeData()
test_case.full_signature: @Test public void testWriteFullNodeData()
test_case.identifier: testWriteFullNodeData
test_case.invocations: write marshal writeFullNodeData marshal assertNull read assertEquals read
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testWriteFullNodeData()
focal_class.declarator: marshaller
focal_class.modifier: private final
focal_class.original_string: private final JdkMarshaller marshaller;
focal_class.type: JdkMarshaller
focal_class.var_name: marshaller
focal_class.declarator: cache = new TreeMap<>()
focal_class.modifier: private final
focal_class.original_string: private final SortedMap<String, byte[]> cache = new TreeMap<>();
focal_class.type: SortedMap<String, byte[]>
focal_class.var_name: cache
focal_class.file: modules/core/src/main/java/org/apache/ignite/internal/processors/metastorage/persistence/InMemoryCachedDistributedMetaStorageBridge.java
focal_class.identifier: InMemoryCachedDistributedMetaStorageBridge
focal_class.class_method_signature: InMemoryCachedDistributedMetaStorageBridge.InMemoryCachedDistributedMetaStorageBridge(JdkMarshaller marshaller)
focal_class.full_signature: public  InMemoryCachedDistributedMetaStorageBridge(JdkMarshaller marshaller)
focal_class.identifier: InMemoryCachedDistributedMetaStorageBridge
focal_class.modifiers: public
focal_class.parameters: (JdkMarshaller marshaller)
focal_class.signature:  InMemoryCachedDistributedMetaStorageBridge(JdkMarshaller marshaller)
focal_class.class_method_signature: InMemoryCachedDistributedMetaStorageBridge.read(String globalKey)
focal_class.full_signature: public Serializable read(String globalKey)
focal_class.identifier: read
focal_class.modifiers: public
focal_class.parameters: (String globalKey)
focal_class.return: Serializable
focal_class.signature: Serializable read(String globalKey)
focal_class.class_method_signature: InMemoryCachedDistributedMetaStorageBridge.readMarshalled(String globalKey)
focal_class.full_signature: public byte[] readMarshalled(String globalKey)
focal_class.identifier: readMarshalled
focal_class.modifiers: public
focal_class.parameters: (String globalKey)
focal_class.return: byte[]
focal_class.signature: byte[] readMarshalled(String globalKey)
focal_class.class_method_signature: InMemoryCachedDistributedMetaStorageBridge.iterate(
          String globalKeyPrefix,
          BiConsumer<String, ? super Serializable> cb
      )
focal_class.full_signature: public void iterate(
          String globalKeyPrefix,
          BiConsumer<String, ? super Serializable> cb
      )
focal_class.identifier: iterate
focal_class.modifiers: public
focal_class.parameters: (
          String globalKeyPrefix,
          BiConsumer<String, ? super Serializable> cb
      )
focal_class.return: void
focal_class.signature: void iterate(
          String globalKeyPrefix,
          BiConsumer<String, ? super Serializable> cb
      )
focal_class.class_method_signature: InMemoryCachedDistributedMetaStorageBridge.write(String globalKey, @Nullable byte[] valBytes)
focal_class.full_signature: public void write(String globalKey, @Nullable byte[] valBytes)
focal_class.identifier: write
focal_class.modifiers: public
focal_class.parameters: (String globalKey, @Nullable byte[] valBytes)
focal_class.return: void
focal_class.signature: void write(String globalKey, @Nullable byte[] valBytes)
focal_class.class_method_signature: InMemoryCachedDistributedMetaStorageBridge.localFullData()
focal_class.full_signature: public DistributedMetaStorageKeyValuePair[] localFullData()
focal_class.identifier: localFullData
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: DistributedMetaStorageKeyValuePair[]
focal_class.signature: DistributedMetaStorageKeyValuePair[] localFullData()
focal_class.class_method_signature: InMemoryCachedDistributedMetaStorageBridge.writeFullNodeData(DistributedMetaStorageClusterNodeData fullNodeData)
focal_class.full_signature: public void writeFullNodeData(DistributedMetaStorageClusterNodeData fullNodeData)
focal_class.identifier: writeFullNodeData
focal_class.modifiers: public
focal_class.parameters: (DistributedMetaStorageClusterNodeData fullNodeData)
focal_class.return: void
focal_class.signature: void writeFullNodeData(DistributedMetaStorageClusterNodeData fullNodeData)
focal_class.class_method_signature: InMemoryCachedDistributedMetaStorageBridge.readInitialData(
          ReadOnlyMetastorage metastorage
      )
focal_class.full_signature: public DistributedMetaStorageVersion readInitialData(
          ReadOnlyMetastorage metastorage
      )
focal_class.identifier: readInitialData
focal_class.modifiers: public
focal_class.parameters: (
          ReadOnlyMetastorage metastorage
      )
focal_class.return: DistributedMetaStorageVersion
focal_class.signature: DistributedMetaStorageVersion readInitialData(
          ReadOnlyMetastorage metastorage
      )
focal_method.body: public void writeFullNodeData(DistributedMetaStorageClusterNodeData fullNodeData) {
          assert fullNodeData.fullData != null;
  
          cache.clear();
  
          for (DistributedMetaStorageKeyValuePair item : fullNodeData.fullData)
              cache.put(item.key, item.valBytes);
      }
focal_method.class_method_signature: InMemoryCachedDistributedMetaStorageBridge.writeFullNodeData(DistributedMetaStorageClusterNodeData fullNodeData)
focal_method.full_signature: public void writeFullNodeData(DistributedMetaStorageClusterNodeData fullNodeData)
focal_method.identifier: writeFullNodeData
focal_method.invocations: clear put
focal_method.modifiers: public
focal_method.parameters: (DistributedMetaStorageClusterNodeData fullNodeData)
focal_method.return: void
focal_method.signature: void writeFullNodeData(DistributedMetaStorageClusterNodeData fullNodeData)