Advertisement
Guest User

Untitled

a guest
Jan 28th, 2020
85
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.91 KB | None | 0 0
  1. /**
  2. * Set the {@link KeyspacePopulator} to execute during the bean destruction phase, cleaning up the keyspace and
  3. * leaving it in a known state for others.
  4. *
  5. * @param keyspaceCleaner the {@link KeyspacePopulator} to use during cleanup.
  6. * @see #setKeyspacePopulator
  7. */
  8. public void setKeyspaceCleaner(@Nullable KeyspacePopulator keyspaceCleaner) {
  9. this.keyspaceCleaner = keyspaceCleaner;
  10. }
  11.  
  12. /**
  13. * Set the {@link KeyspacePopulator} to execute during the bean initialization phase. The
  14. * {@link KeyspacePopulator#populate(CqlSession) KeyspacePopulator} is invoked before creating
  15. * {@link #setSchemaAction(SchemaAction) the schema}.
  16. *
  17. * @param keyspacePopulator the {@link KeyspacePopulator} to use during initialization.
  18. * @see #setKeyspaceCleaner
  19. */
  20. public void setKeyspacePopulator(@Nullable KeyspacePopulator keyspacePopulator) {
  21. this.keyspacePopulator = keyspacePopulator;
  22. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement