public abstract class ContentAddressableStoreImpl extends Object implements ContentAddressableStore
Constructor and Description |
---|
ContentAddressableStoreImpl() |
Modifier and Type | Method and Description |
---|---|
void |
addListener(ContentAddressableStoreListener contentAddressableStoreListener)
Add a listener to this store.
|
protected void |
notifyListenersContentAdded(Hash hash) |
protected void |
notifyListenersContentRemoved(Hash hash) |
void |
removeListener(ContentAddressableStoreListener contentAddressableStoreListener)
Remove a listener to this store.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
close, contains, contains, delete, getContentLength, getContentLength, getHashes, read, read, write, write
public void addListener(ContentAddressableStoreListener contentAddressableStoreListener)
ContentAddressableStore
addListener
in interface ContentAddressableStore
public void removeListener(ContentAddressableStoreListener contentAddressableStoreListener)
ContentAddressableStore
removeListener
in interface ContentAddressableStore
protected void notifyListenersContentAdded(Hash hash)
protected void notifyListenersContentRemoved(Hash hash)
Copyright © 2019. All rights reserved.