Package org.infinispan.objectfilter.impl

Examples of org.infinispan.objectfilter.impl.ProtobufMatcher$MetadataAdapterImpl


      serCtx = ProtobufUtil.newSerializationContext(new ConfigurationBuilder().build());
      MarshallerRegistration.registerMarshallers(serCtx);
   }

   protected Matcher createMatcher() throws Exception {
      return new ProtobufMatcher(serCtx);
   }
View Full Code Here


         ProtobufMetadataManager protobufMetadataManager = cr.getGlobalComponentRegistry().getComponent(ProtobufMetadataManager.class);

         // ensure the protobuf metadata cache is created
         protobufMetadataManager.getCache();

         cr.registerComponent(new ProtobufMatcher(protobufMetadataManager.getSerializationContext()), ProtobufMatcher.class);

         if (cfg.compatibility().enabled()) {
            cr.registerComponent(new CompatibilityReflectionMatcher(protobufMetadataManager.getSerializationContext()), CompatibilityReflectionMatcher.class);
         }
View Full Code Here

    */
   @Override
   public void cacheStarting(ComponentRegistry cr, Configuration cfg, String cacheName) {
      EmbeddedCacheManager cacheManager = cr.getGlobalComponentRegistry().getComponent(EmbeddedCacheManager.class);
      SerializationContext serializationContext = ProtobufMetadataManager.getSerializationContext(cacheManager);
      cr.registerComponent(new ProtobufMatcher(serializationContext), ProtobufMatcher.class);

      if (cfg.compatibility().enabled()) {
         cr.registerComponent(new CompatibilityReflectionMatcher(serializationContext), CompatibilityReflectionMatcher.class);
      }

View Full Code Here

      return ProtobufUtil.toWrappedByteArray(serCtx, super.createPerson2());
   }

   @Override
   protected ProtobufMatcher createMatcher() {
      return new ProtobufMatcher(serCtx);
   }
View Full Code Here

    */
   @Override
   public void cacheStarting(ComponentRegistry cr, Configuration cfg, String cacheName) {
      EmbeddedCacheManager cacheManager = cr.getGlobalComponentRegistry().getComponent(EmbeddedCacheManager.class);
      SerializationContext serializationContext = ProtobufMetadataManager.getSerializationContext(cacheManager);
      cr.registerComponent(new ProtobufMatcher(serializationContext), ProtobufMatcher.class);

      if (cfg.indexing().index().isEnabled() && !cfg.compatibility().enabled()) {
         log.infof("Registering RemoteValueWrapperInterceptor for cache %s", cacheName);
         createRemoteIndexingInterceptor(cr, cfg);
      }
View Full Code Here

TOP

Related Classes of org.infinispan.objectfilter.impl.ProtobufMatcher$MetadataAdapterImpl

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.