@Service(value="archivaEntityManagerFactory#cassandra") public class DefaultCassandraArchivaManager extends Object implements CassandraArchivaManager
Modifier and Type | Field and Description |
---|---|
private org.springframework.context.ApplicationContext |
applicationContext |
private String |
artifactMetadataFamilyName |
private String |
cassandraHost |
private String |
cassandraPort |
private me.prettyprint.hector.api.Cluster |
cluster |
private static String |
CLUSTER_NAME |
private String |
clusterName |
private String |
dependencyFamilyName |
private me.prettyprint.hector.api.Keyspace |
keyspace |
private static String |
KEYSPACE_NAME |
private String |
keyspaceName |
private String |
licenseFamilyName |
private org.slf4j.Logger |
logger |
private String |
mailingListFamilyName |
private int |
maxActive |
private String |
metadataFacetFamilyName |
private String |
namespaceFamilyName |
private String |
projectFamilyName |
private String |
projectVersionMetadataFamilyName |
private String |
readConsistencyLevel |
private int |
replicationFactor |
private String |
repositoryFamilyName |
private RepositorySessionFactoryBean |
repositorySessionFactoryBean |
private boolean |
started |
private String |
writeConsistencyLevel |
Constructor and Description |
---|
DefaultCassandraArchivaManager() |
Modifier and Type | Method and Description |
---|---|
String |
getArtifactMetadataFamilyName() |
me.prettyprint.hector.api.Cluster |
getCluster() |
String |
getDependencyFamilyName() |
me.prettyprint.hector.api.Keyspace |
getKeyspace() |
String |
getLicenseFamilyName() |
String |
getMailingListFamilyName() |
String |
getMetadataFacetFamilyName() |
String |
getNamespaceFamilyName() |
String |
getProjectFamilyName() |
String |
getProjectVersionMetadataFamilyName() |
String |
getRepositoryFamilyName() |
void |
initialize() |
void |
shutdown() |
void |
start() |
boolean |
started() |
private org.slf4j.Logger logger
@Inject private org.springframework.context.ApplicationContext applicationContext
private static final String CLUSTER_NAME
private static final String KEYSPACE_NAME
private boolean started
private me.prettyprint.hector.api.Cluster cluster
private me.prettyprint.hector.api.Keyspace keyspace
private String repositoryFamilyName
private String namespaceFamilyName
private String projectFamilyName
private String projectVersionMetadataFamilyName
private String artifactMetadataFamilyName
private String metadataFacetFamilyName
private String mailingListFamilyName
private String licenseFamilyName
private String dependencyFamilyName
@Value(value="${cassandra.host}") private String cassandraHost
@Value(value="${cassandra.port}") private String cassandraPort
@Value(value="${cassandra.maxActive}") private int maxActive
@Value(value="${cassandra.readConsistencyLevel}") private String readConsistencyLevel
@Value(value="${cassandra.writeConsistencyLevel}") private String writeConsistencyLevel
@Value(value="${cassandra.replicationFactor}") private int replicationFactor
@Value(value="${cassandra.keyspace.name}") private String keyspaceName
@Value(value="${cassandra.cluster.name}") private String clusterName
@Inject private RepositorySessionFactoryBean repositorySessionFactoryBean
public DefaultCassandraArchivaManager()
@PostConstruct public void initialize()
public void start()
start
in interface CassandraArchivaManager
@PreDestroy public void shutdown()
shutdown
in interface CassandraArchivaManager
public boolean started()
started
in interface CassandraArchivaManager
public me.prettyprint.hector.api.Keyspace getKeyspace()
getKeyspace
in interface CassandraArchivaManager
public me.prettyprint.hector.api.Cluster getCluster()
getCluster
in interface CassandraArchivaManager
public String getRepositoryFamilyName()
getRepositoryFamilyName
in interface CassandraArchivaManager
public String getNamespaceFamilyName()
getNamespaceFamilyName
in interface CassandraArchivaManager
public String getProjectFamilyName()
getProjectFamilyName
in interface CassandraArchivaManager
public String getProjectVersionMetadataFamilyName()
getProjectVersionMetadataFamilyName
in interface CassandraArchivaManager
public String getArtifactMetadataFamilyName()
getArtifactMetadataFamilyName
in interface CassandraArchivaManager
public String getMetadataFacetFamilyName()
getMetadataFacetFamilyName
in interface CassandraArchivaManager
public String getMailingListFamilyName()
getMailingListFamilyName
in interface CassandraArchivaManager
public String getLicenseFamilyName()
getLicenseFamilyName
in interface CassandraArchivaManager
public String getDependencyFamilyName()
getDependencyFamilyName
in interface CassandraArchivaManager
Copyright © 2006–2023 The Apache Software Foundation. All rights reserved.