Save This Page
Home » activemq-parent-5.3.1-source-release » org.apache » activemq » store » kahadaptor » [javadoc | source]
org.apache.activemq.store.kahadaptor
public class: KahaTopicReferenceStore [javadoc | source]
java.lang.Object
   org.apache.activemq.store.AbstractMessageStore
      org.apache.activemq.store.kahadaptor.KahaReferenceStore
         org.apache.activemq.store.kahadaptor.KahaTopicReferenceStore

All Implemented Interfaces:
    TopicReferenceStore, ReferenceStore, MessageStore

Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to You under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Field Summary
protected  ListContainer<TopicSubAck> ackContainer     
protected  Map<String, TopicSubContainer> subscriberMessages     
Fields inherited from org.apache.activemq.store.kahadaptor.KahaReferenceStore:
messageContainer,  adapter,  dispatchAudit,  lock
Fields inherited from org.apache.activemq.store.AbstractMessageStore:
destination
Constructor:
 public KahaTopicReferenceStore(Store store,
    KahaReferenceStoreAdapter adapter,
    MapContainer<MessageId, ReferenceRecord> messageContainer,
    ListContainer<TopicSubAck> ackContainer,
    MapContainer<String, SubscriptionInfo> subsContainer,
    ActiveMQDestination destination) throws IOException 
Method from org.apache.activemq.store.kahadaptor.KahaTopicReferenceStore Summary:
acknowledge,   acknowledgeReference,   addMessage,   addMessageReference,   addReferenceFileIdsInUse,   addSubsciption,   addSubscriberMessageContainer,   deleteSubscription,   dispose,   getAllSubscriptions,   getMessage,   getMessageCount,   getMessageId,   getMessageReference,   getSubscriptionKey,   lookupSubscription,   recoverNextMessages,   recoverSubscription,   removeAllMessages,   removeSubscriberMessageContainer,   resetBatching
Methods from org.apache.activemq.store.kahadaptor.KahaReferenceStore:
addInterest,   addMessage,   addMessageReference,   delete,   dispose,   getMessage,   getMessageCount,   getMessageId,   getMessageReference,   getStoreLock,   isDuplicate,   isSupportForCursors,   recover,   recoverNextMessages,   recoverReference,   removeAllMessages,   removeInterest,   removeMessage,   removeMessage,   resetBatching,   setBatch,   supportsExternalBatchControl
Methods from org.apache.activemq.store.AbstractMessageStore:
dispose,   getDestination,   isEmpty,   setBatch,   setMemoryUsage,   start,   stop
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.activemq.store.kahadaptor.KahaTopicReferenceStore Detail:
 public  void acknowledge(ConnectionContext context,
    String clientId,
    String subscriptionName,
    MessageId messageId) throws IOException 
 public boolean acknowledgeReference(ConnectionContext context,
    String clientId,
    String subscriptionName,
    MessageId messageId) throws IOException 
 public  void addMessage(ConnectionContext context,
    Message message) throws IOException 
 public boolean addMessageReference(ConnectionContext context,
    MessageId messageId,
    ReferenceData data) 
 public  void addReferenceFileIdsInUse() 
 public  void addSubsciption(SubscriptionInfo info,
    boolean retroactive) throws IOException 
 protected MapContainer addSubscriberMessageContainer(String clientId,
    String subscriptionName) throws IOException 
 public  void deleteSubscription(String clientId,
    String subscriptionName) throws IOException 
 public  void dispose(ConnectionContext context) 
 public SubscriptionInfo[] getAllSubscriptions() throws IOException 
 public Message getMessage(MessageId identity) throws IOException 
 public int getMessageCount(String clientId,
    String subscriberName) throws IOException 
 protected MessageId getMessageId(Object object) 
 public ReferenceData getMessageReference(MessageId identity) throws IOException 
 protected String getSubscriptionKey(String clientId,
    String subscriberName) 
 public SubscriptionInfo lookupSubscription(String clientId,
    String subscriptionName) throws IOException 
 public  void recoverNextMessages(String clientId,
    String subscriptionName,
    int maxReturned,
    MessageRecoveryListener listener) throws Exception 
 public  void recoverSubscription(String clientId,
    String subscriptionName,
    MessageRecoveryListener listener) throws Exception 
 public  void removeAllMessages(ConnectionContext context) throws IOException 
 protected  void removeSubscriberMessageContainer(String clientId,
    String subscriptionName) throws IOException 
 public  void resetBatching(String clientId,
    String subscriptionName)