Package org.xmlBlaster.util.queue

Examples of org.xmlBlaster.util.queue.StorageId


         if (this.topicStore == null) {
            String type = topicStoreProperty.getType();
            String version = topicStoreProperty.getVersion();
            // e.g. "topicStore:/node/heron" is the unique name of the data store:
            StorageId topicStoreId = new StorageId(glob, glob.getDatabaseNodeStr(), Constants.RELATING_TOPICSTORE, "");
            // old xb_entries:
            // StorageId topicStoreId = new StorageId(glob, "topicStore",
            // glob.getStrippedId());
            // Todo: This loads 2 entries into the cache which should be avoided
            // as some line below getAll() gets all of them!
View Full Code Here


    
      if (this.useQueue) {
         log.info("going to instance the queue");
         ConnectQos connectQos = connection.getConnectQos();
         ClientQueueProperty prop = connectQos.getClientQueueProperty();
         StorageId storageId = ((XmlBlasterAccess) connection).createStorageId(Constants.RELATING_CLIENT_UPDATE);
         try {
            this.queue = this.global.getQueuePluginManager().getPlugin(prop.getType(), prop.getVersion(), storageId,
                  connectQos.getClientQueueProperty());
            if (((XmlBlasterAccess)connection).isCallbackDispatcherActive())
               sendInitialQueueEntries();
View Full Code Here

   public Object getProperties() {
      return null;
   }
  
   private StorageId getStorageId(XBStore store) {
      return new StorageId(glob, store.getNode(), store.getType(), store.getPostfix());
      // return new StorageId(glob, store.getType(), store.getType() +
      // store.getPostfix());
   }
View Full Code Here

   }
  
  
   public I_Entry createEntry(XBStore store, XBMeat meat, XBRef ref) throws XmlBlasterException {
      String type = ref.getMethodName();
      StorageId storageId = getStorageId(store);
      MethodName methodName = MethodName.toMethodName(type);
      String key = meat.getKey();
      String qos = meat.getQos();
      byte[] content = meat.getContent();
      long timestamp = ref.getId();
View Full Code Here

      this.connectQos = connectQos;

      this.msgErrorHandler = new MsgErrorHandler(glob, this);
      String type = connectQos.getSessionCbQueueProperty().getType();
      String version = connectQos.getSessionCbQueueProperty().getVersion();
      StorageId storageId = new StorageId(glob, this.glob.getDatabaseNodeStr(), Constants.RELATING_CALLBACK,
            this.sessionName);
      // old xb_entries
      // StorageId storageId = new StorageId(glob, Constants.RELATING_CALLBACK,
      // this.sessionName.getAbsoluteName());
      if (log.isLoggable(Level.FINE)) log.fine(ME+": Creating callback queue type=" + type + " version=" + version);
View Full Code Here

TOP

Related Classes of org.xmlBlaster.util.queue.StorageId

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.