org.apache.cassandra.auth
Class MigrationListener

java.lang.Object
  extended by org.apache.cassandra.auth.MigrationListener
All Implemented Interfaces:
IMigrationListener

public class MigrationListener
extends java.lang.Object
implements IMigrationListener

IMigrationListener implementation that cleans up permissions on dropped resources.


Constructor Summary
MigrationListener()
           
 
Method Summary
 void onCreateColumnFamly(java.lang.String ksName, java.lang.String cfName)
           
 void onCreateKeyspace(java.lang.String ksName)
           
 void onDropColumnFamly(java.lang.String ksName, java.lang.String cfName)
           
 void onDropKeyspace(java.lang.String ksName)
           
 void onUpdateColumnFamly(java.lang.String ksName, java.lang.String cfName)
           
 void onUpdateKeyspace(java.lang.String ksName)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MigrationListener

public MigrationListener()
Method Detail

onDropKeyspace

public void onDropKeyspace(java.lang.String ksName)
Specified by:
onDropKeyspace in interface IMigrationListener

onDropColumnFamly

public void onDropColumnFamly(java.lang.String ksName,
                              java.lang.String cfName)
Specified by:
onDropColumnFamly in interface IMigrationListener

onCreateKeyspace

public void onCreateKeyspace(java.lang.String ksName)
Specified by:
onCreateKeyspace in interface IMigrationListener

onCreateColumnFamly

public void onCreateColumnFamly(java.lang.String ksName,
                                java.lang.String cfName)
Specified by:
onCreateColumnFamly in interface IMigrationListener

onUpdateKeyspace

public void onUpdateKeyspace(java.lang.String ksName)
Specified by:
onUpdateKeyspace in interface IMigrationListener

onUpdateColumnFamly

public void onUpdateColumnFamly(java.lang.String ksName,
                                java.lang.String cfName)
Specified by:
onUpdateColumnFamly in interface IMigrationListener


Copyright © 2012 The Apache Software Foundation