Till Westmann has uploaded a new change for review. https://asterix-gerrit.ics.uci.edu/664
Change subject: remove unused files in org/apache/asterix/common/api ...................................................................... remove unused files in org/apache/asterix/common/api Change-Id: I26ddd964e0caed9d8411c3e646f91b80b2a333ae --- D asterix-common/src/main/java/org/apache/asterix/common/api/AsterixContextInfo.java D asterix-common/src/main/java/org/apache/asterix/common/api/IAsterixContextInfo.java D asterix-common/src/main/java/org/apache/asterix/common/api/IAsterixRuntimeComponentsProvider.java 3 files changed, 0 insertions(+), 140 deletions(-) git pull ssh://asterix-gerrit.ics.uci.edu:29418/asterixdb refs/changes/64/664/1 diff --git a/asterix-common/src/main/java/org/apache/asterix/common/api/AsterixContextInfo.java b/asterix-common/src/main/java/org/apache/asterix/common/api/AsterixContextInfo.java deleted file mode 100644 index 067e7a9..0000000 --- a/asterix-common/src/main/java/org/apache/asterix/common/api/AsterixContextInfo.java +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package org.apache.asterix.common.api; - -import org.apache.hyracks.api.application.ICCApplicationContext; - -public class AsterixContextInfo implements IAsterixContextInfo { - - public static AsterixContextInfo INSTANCE; - - private final ICCApplicationContext appCtx; - - public static void initialize(ICCApplicationContext ccAppCtx) { - if (INSTANCE == null) { - INSTANCE = new AsterixContextInfo(ccAppCtx); - } - } - - private AsterixContextInfo(ICCApplicationContext ccAppCtx) { - this.appCtx = ccAppCtx; - } - - @Override - public ICCApplicationContext getCCApplicationContext() { - return appCtx; - } - -} diff --git a/asterix-common/src/main/java/org/apache/asterix/common/api/IAsterixContextInfo.java b/asterix-common/src/main/java/org/apache/asterix/common/api/IAsterixContextInfo.java deleted file mode 100644 index d092df7..0000000 --- a/asterix-common/src/main/java/org/apache/asterix/common/api/IAsterixContextInfo.java +++ /dev/null @@ -1,32 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package org.apache.asterix.common.api; - -import org.apache.hyracks.api.application.ICCApplicationContext; - -public interface IAsterixContextInfo { - - /** - * Returns an instance of the implementation for ICCApplicationContext. - * - * @return ICCApplicationContext implementation instance - */ - public ICCApplicationContext getCCApplicationContext(); - -} diff --git a/asterix-common/src/main/java/org/apache/asterix/common/api/IAsterixRuntimeComponentsProvider.java b/asterix-common/src/main/java/org/apache/asterix/common/api/IAsterixRuntimeComponentsProvider.java deleted file mode 100644 index 1e4869e..0000000 --- a/asterix-common/src/main/java/org/apache/asterix/common/api/IAsterixRuntimeComponentsProvider.java +++ /dev/null @@ -1,64 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package org.apache.asterix.common.api; - -import org.apache.hyracks.api.io.IIOManager; -import org.apache.hyracks.storage.am.lsm.common.api.ILSMIOOperationCallbackProvider; -import org.apache.hyracks.storage.am.lsm.common.api.ILSMIOOperationScheduler; -import org.apache.hyracks.storage.am.lsm.common.api.ILSMMergePolicy; -import org.apache.hyracks.storage.am.lsm.common.api.ILSMOperationTrackerProvider; -import org.apache.hyracks.storage.common.buffercache.IBufferCache; -import org.apache.hyracks.storage.common.file.IFileMapProvider; -import org.apache.hyracks.storage.common.file.ILocalResourceRepository; -import org.apache.hyracks.storage.common.file.ResourceIdFactory; - -public interface IAsterixRuntimeComponentsProvider { - - public IBufferCache getBufferCache(); - - public IFileMapProvider getFileMapManager(); - - public IDatasetLifecycleManager getDatasetLifecycleManager(); - - public double getBloomFilterFalsePositiveRate(); - - public ILSMMergePolicy getLSMMergePolicy(); - - public ILSMOperationTrackerProvider getLSMBTreeOperationTrackerFactory(); - - public ILSMOperationTrackerProvider getLSMRTreeOperationTrackerFactory(); - - public ILSMOperationTrackerProvider getLSMInvertedIndexOperationTrackerFactory(); - - public ILSMIOOperationCallbackProvider getLSMBTreeIOOperationCallbackProvider(); - - public ILSMIOOperationCallbackProvider getLSMRTreeIOOperationCallbackProvider(); - - public ILSMIOOperationCallbackProvider getLSMInvertedIndexIOOperationCallbackProvider(); - - public ILSMIOOperationCallbackProvider getNoOpIOOperationCallbackProvider(); - - public ILSMIOOperationScheduler getLSMIOScheduler(); - - public ILocalResourceRepository getLocalResourceRepository(); - - public ResourceIdFactory getResourceIdFactory(); - - public IIOManager getIOManager(); -} -- To view, visit https://asterix-gerrit.ics.uci.edu/664 To unsubscribe, visit https://asterix-gerrit.ics.uci.edu/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I26ddd964e0caed9d8411c3e646f91b80b2a333ae Gerrit-PatchSet: 1 Gerrit-Project: asterixdb Gerrit-Branch: master Gerrit-Owner: Till Westmann <[email protected]>
