Return-Path: X-Original-To: apmail-asterixdb-notifications-archive@minotaur.apache.org Delivered-To: apmail-asterixdb-notifications-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id EC3E718C1E for ; Fri, 26 Feb 2016 21:12:05 +0000 (UTC) Received: (qmail 86827 invoked by uid 500); 26 Feb 2016 21:12:05 -0000 Delivered-To: apmail-asterixdb-notifications-archive@asterixdb.apache.org Received: (qmail 86794 invoked by uid 500); 26 Feb 2016 21:12:05 -0000 Mailing-List: contact notifications-help@asterixdb.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@asterixdb.incubator.apache.org Delivered-To: mailing list notifications@asterixdb.incubator.apache.org Received: (qmail 86785 invoked by uid 99); 26 Feb 2016 21:12:05 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 26 Feb 2016 21:12:05 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id 7402A1A015F for ; Fri, 26 Feb 2016 21:12:05 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.126 X-Spam-Level: ** X-Spam-Status: No, score=2.126 tagged_above=-999 required=6.31 tests=[MISSING_HEADERS=1.207, SPF_FAIL=0.919] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id Dw36_k75yw8Z for ; Fri, 26 Feb 2016 21:12:03 +0000 (UTC) Received: from unhygienix.ics.uci.edu (unhygienix.ics.uci.edu [128.195.14.130]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTP id ACD6B5F5CD for ; Fri, 26 Feb 2016 21:12:02 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by unhygienix.ics.uci.edu (Postfix) with ESMTP id EB6952419DA; Fri, 26 Feb 2016 13:07:27 -0800 (PST) Date: Fri, 26 Feb 2016 13:07:27 -0800 From: "Till Westmann (Code Review)" CC: Jenkins , Murtadha Hubail Reply-To: tillw@apache.org X-Gerrit-MessageType: merged Subject: Change in asterixdb[master]: remove unused files in org/apache/asterix/common/api X-Gerrit-Change-Id: I26ddd964e0caed9d8411c3e646f91b80b2a333ae X-Gerrit-ChangeURL: X-Gerrit-Commit: d1dae3138373613defb2229ac6828a08c4be97d2 In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Content-Disposition: inline User-Agent: Gerrit/2.8.4 Message-Id: <20160226210727.EB6952419DA@unhygienix.ics.uci.edu> Till Westmann has submitted this change and it was merged. Change subject: remove unused files in org/apache/asterix/common/api ...................................................................... remove unused files in org/apache/asterix/common/api Change-Id: I26ddd964e0caed9d8411c3e646f91b80b2a333ae Reviewed-on: https://asterix-gerrit.ics.uci.edu/664 Tested-by: Jenkins Reviewed-by: Murtadha Hubail --- 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(-) Approvals: Murtadha Hubail: Looks good to me, approved Jenkins: Verified 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: merged Gerrit-Change-Id: I26ddd964e0caed9d8411c3e646f91b80b2a333ae Gerrit-PatchSet: 3 Gerrit-Project: asterixdb Gerrit-Branch: master Gerrit-Owner: Till Westmann Gerrit-Reviewer: Jenkins Gerrit-Reviewer: Murtadha Hubail Gerrit-Reviewer: Till Westmann