Skip to content

Commit

Permalink
Move the OsBeanUtil to the io module so it can be accessed in sub-ker…
Browse files Browse the repository at this point in the history
…nel modules.
  • Loading branch information
chrisvest committed Jan 23, 2018
1 parent d109e31 commit 65b5506
Show file tree
Hide file tree
Showing 9 changed files with 9 additions and 9 deletions.
Expand Up @@ -27,7 +27,7 @@
import org.neo4j.commandline.admin.OutsideWorld;
import org.neo4j.commandline.arguments.Arguments;
import org.neo4j.commandline.arguments.OptionalNamedArg;
import org.neo4j.kernel.impl.util.OsBeanUtil;
import org.neo4j.io.os.OsBeanUtil;

import static java.lang.String.format;
import static org.neo4j.configuration.ExternalSettings.initialHeapSize;
Expand Down
Expand Up @@ -53,7 +53,7 @@
import org.neo4j.kernel.impl.logging.StoreLogService;
import org.neo4j.kernel.impl.store.format.RecordFormatSelector;
import org.neo4j.kernel.impl.util.Converters;
import org.neo4j.kernel.impl.util.OsBeanUtil;
import org.neo4j.io.os.OsBeanUtil;
import org.neo4j.kernel.impl.util.Validator;
import org.neo4j.kernel.impl.util.Validators;
import org.neo4j.kernel.internal.Version;
Expand Down
Expand Up @@ -17,7 +17,7 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
package org.neo4j.kernel.impl.util;
package org.neo4j.io.os;

import java.lang.management.ManagementFactory;
import java.lang.management.OperatingSystemMXBean;
Expand Down
Expand Up @@ -30,7 +30,7 @@
import org.neo4j.io.pagecache.tracing.PageCacheTracer;
import org.neo4j.io.pagecache.tracing.cursor.PageCursorTracerSupplier;
import org.neo4j.kernel.configuration.Config;
import org.neo4j.kernel.impl.util.OsBeanUtil;
import org.neo4j.io.os.OsBeanUtil;
import org.neo4j.logging.Log;

import static org.neo4j.graphdb.factory.GraphDatabaseSettings.mapped_memory_page_size;
Expand Down
Expand Up @@ -46,7 +46,7 @@
import java.util.TimeZone;
import java.util.stream.Stream;

import org.neo4j.kernel.impl.util.OsBeanUtil;
import org.neo4j.io.os.OsBeanUtil;
import org.neo4j.logging.Logger;

import static java.net.NetworkInterface.getNetworkInterfaces;
Expand Down
Expand Up @@ -22,7 +22,7 @@
import org.neo4j.io.ByteUnit;
import org.neo4j.kernel.configuration.Config;
import org.neo4j.kernel.impl.pagecache.ConfiguringPageCacheFactory;
import org.neo4j.kernel.impl.util.OsBeanUtil;
import org.neo4j.io.os.OsBeanUtil;
import org.neo4j.unsafe.impl.batchimport.staging.Stage;
import org.neo4j.unsafe.impl.batchimport.staging.Step;

Expand Down
Expand Up @@ -35,7 +35,7 @@
import org.neo4j.helpers.collection.Pair;
import org.neo4j.kernel.impl.cache.MeasureDoNothing;
import org.neo4j.kernel.impl.cache.MeasureDoNothing.CollectingMonitor;
import org.neo4j.kernel.impl.util.OsBeanUtil;
import org.neo4j.io.os.OsBeanUtil;
import org.neo4j.unsafe.impl.batchimport.stats.DetailLevel;
import org.neo4j.unsafe.impl.batchimport.stats.Keys;
import org.neo4j.unsafe.impl.batchimport.stats.Stat;
Expand Down
Expand Up @@ -28,7 +28,7 @@
import java.util.concurrent.atomic.AtomicInteger;

import org.neo4j.graphdb.Transaction;
import org.neo4j.kernel.impl.util.OsBeanUtil;
import org.neo4j.io.os.OsBeanUtil;
import org.neo4j.test.rule.EmbeddedDatabaseRule;

import static org.hamcrest.Matchers.lessThan;
Expand Down
Expand Up @@ -42,7 +42,7 @@
import org.neo4j.kernel.impl.store.id.IdGeneratorFactory;
import org.neo4j.kernel.impl.store.id.IdType;
import org.neo4j.kernel.impl.transaction.state.DataSourceManager;
import org.neo4j.kernel.impl.util.OsBeanUtil;
import org.neo4j.io.os.OsBeanUtil;
import org.neo4j.storageengine.api.StoreFileMetadata;
import org.neo4j.udc.UsageData;
import org.neo4j.udc.UsageDataKeys;
Expand Down

0 comments on commit 65b5506

Please sign in to comment.