Package com.linkedin.venice.acl
Class AclCreationDeletionListener
- java.lang.Object
-
- com.linkedin.venice.acl.AclCreationDeletionListener
-
- All Implemented Interfaces:
StoreDataChangedListener
public class AclCreationDeletionListener extends java.lang.Object implements StoreDataChangedListener
Update access controller resource list when a store is created/deleted
-
-
Constructor Summary
Constructors Constructor Description AclCreationDeletionListener(DynamicAccessController accessController)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
handleStoreChanged(Store store)
void
handleStoreCreated(Store store)
Do NOT try to acquire the lock of store repository again in the implementation, otherwise a dead lock issue will happen.void
handleStoreDeleted(java.lang.String storeName)
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.linkedin.venice.meta.StoreDataChangedListener
handleStoreDeleted
-
-
-
-
Constructor Detail
-
AclCreationDeletionListener
public AclCreationDeletionListener(DynamicAccessController accessController)
-
-
Method Detail
-
handleStoreCreated
public void handleStoreCreated(Store store)
Description copied from interface:StoreDataChangedListener
Do NOT try to acquire the lock of store repository again in the implementation, otherwise a dead lock issue will happen.- Specified by:
handleStoreCreated
in interfaceStoreDataChangedListener
-
handleStoreDeleted
public void handleStoreDeleted(java.lang.String storeName)
- Specified by:
handleStoreDeleted
in interfaceStoreDataChangedListener
-
handleStoreChanged
public void handleStoreChanged(Store store)
- Specified by:
handleStoreChanged
in interfaceStoreDataChangedListener
-
-