Save This Page
Home » activemq-parent-5.3.1-source-release » org.apache » activemq » store » jpa » [javadoc | source]
public class: JPAReferenceStore [javadoc | source]

All Implemented Interfaces:

Direct Known Subclasses:

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 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 final  JPAPersistenceAdapter adapter     
protected final  WireFormat wireFormat     
protected final  ActiveMQDestination destination     
protected final  String destinationName     
protected  AtomicLong lastMessageId     
protected final  Lock lock     
 public JPAReferenceStore(JPAPersistenceAdapter adapter,
    ActiveMQDestination destination) 
Method from Summary:
addMessage,   addMessageReference,   getDestination,   getMessage,   getMessageCount,   getMessageReference,   getStoreLock,   recover,   recoverNextMessages,   removeAllMessages,   removeMessage,   resetBatching,   setBatch,   setMemoryUsage,   start,   stop,   supportsExternalBatchControl
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from Detail:
 public  void addMessage(ConnectionContext context,
    Message message) throws IOException 
 public  void addMessageReference(ConnectionContext context,
    MessageId messageId,
    ReferenceData data) throws IOException 
 public ActiveMQDestination getDestination() 
 public Message getMessage(MessageId identity) throws IOException 
 public int getMessageCount() throws IOException 
 public ReferenceData getMessageReference(MessageId identity) throws IOException 
 public Lock getStoreLock() 
 public  void recover(MessageRecoveryListener container) throws Exception 
 public  void recoverNextMessages(int maxReturned,
    MessageRecoveryListener listener) throws Exception 
 public  void removeAllMessages(ConnectionContext context) throws IOException 
 public  void removeMessage(ConnectionContext context,
    MessageAck ack) throws IOException 
 public  void resetBatching() 
 public  void setBatch(MessageId startAfter) 
 public  void setMemoryUsage(MemoryUsage memoeyUSage) 
 public  void start() throws Exception 
 public  void stop() throws Exception 
 public boolean supportsExternalBatchControl()