Author: borges
Date: 2011-11-25 10:01:17 -0500 (Fri, 25 Nov 2011)
New Revision: 11768
Modified:
trunk/hornetq-core/src/main/java/org/hornetq/core/persistence/StorageManager.java
trunk/hornetq-core/src/main/java/org/hornetq/core/persistence/impl/nullpm/NullStorageManager.java
Log:
Delete isReplicated() from StorageManager, as it is only used internally at
JournalStorageManager.
Modified:
trunk/hornetq-core/src/main/java/org/hornetq/core/persistence/StorageManager.java
===================================================================
---
trunk/hornetq-core/src/main/java/org/hornetq/core/persistence/StorageManager.java 2011-11-25
15:01:04 UTC (rev 11767)
+++
trunk/hornetq-core/src/main/java/org/hornetq/core/persistence/StorageManager.java 2011-11-25
15:01:17 UTC (rev 11768)
@@ -87,8 +87,6 @@
void pageWrite(PagedMessage message, int pageNumber);
- boolean isReplicated();
-
void afterCompleteOperations(IOAsyncTask run);
/** Block until the operations are done.
Modified:
trunk/hornetq-core/src/main/java/org/hornetq/core/persistence/impl/nullpm/NullStorageManager.java
===================================================================
---
trunk/hornetq-core/src/main/java/org/hornetq/core/persistence/impl/nullpm/NullStorageManager.java 2011-11-25
15:01:04 UTC (rev 11767)
+++
trunk/hornetq-core/src/main/java/org/hornetq/core/persistence/impl/nullpm/NullStorageManager.java 2011-11-25
15:01:17 UTC (rev 11768)
@@ -317,46 +317,23 @@
{
}
- /* (non-Javadoc)
- * @see org.hornetq.core.persistence.StorageManager#loadInternalOnly()
- */
public JournalLoadInformation[] loadInternalOnly() throws Exception
{
return null;
}
- /* (non-Javadoc)
- * @see org.hornetq.core.persistence.StorageManager#isReplicated()
- */
- public boolean isReplicated()
- {
- return false;
- }
-
- /* (non-Javadoc)
- * @see org.hornetq.core.persistence.StorageManager#completeReplication()
- */
public void completeOperations()
{
}
- /* (non-Javadoc)
- * @see
org.hornetq.core.persistence.StorageManager#pageClosed(org.hornetq.utils.SimpleString,
int)
- */
public void pageClosed(final SimpleString storeName, final int pageNumber)
{
}
- /* (non-Javadoc)
- * @see
org.hornetq.core.persistence.StorageManager#pageDeleted(org.hornetq.utils.SimpleString,
int)
- */
public void pageDeleted(final SimpleString storeName, final int pageNumber)
{
}
- /* (non-Javadoc)
- * @see
org.hornetq.core.persistence.StorageManager#pageWrite(org.hornetq.core.paging.PagedMessage,
int)
- */
public void pageWrite(final PagedMessage message, final int pageNumber)
{
}
@@ -369,9 +346,6 @@
{
}
- /* (non-Javadoc)
- * @see org.hornetq.core.persistence.StorageManager#blockOnReplication(long)
- */
public boolean waitOnOperations(final long timeout) throws Exception
{
return true;
Show replies by date