메뉴 건너뛰기

Cloudera, BigData, Semantic IoT, Hadoop, NoSQL

Cloudera CDH/CDP 및 Hadoop EcoSystem, Semantic IoT등의 개발/운영 기술을 정리합니다. gooper@gooper.com로 문의 주세요.


Drools ServerInfo객체파일

총관리자 2016.07.21 18:02 조회 수 : 4149

------------ServerInfo.java--------------

package com.gooper.drool_test;


public class ServerInfo {

String name;

int processors;

int memory; 

int diskSpace;

int cpuUsage;

public ServerInfo(String name, int processors, int memory, int diskSpace, int cpuUsage) {

super();

this.name = name;

this.processors = processors;

this.memory = memory;

this.diskSpace = diskSpace;

this.cpuUsage = cpuUsage;

}

public String getName() {

return name;

}

public void setName(String name) {

this.name = name;

}

public int getProcessors() {

return processors;

}

public void setProcessors(int processors) {

this.processors = processors;

}

public int getMemory() {

return memory;

}

public void setMemory(int memory) {

this.memory = memory;

}

public int getDiskSpace() {

return diskSpace;

}

public void setDiskSpace(int diskSpace) {

this.diskSpace = diskSpace;

}

public int getCpuUsage() {

return cpuUsage;

}

public void setCpuUsage(int cpuUsage) {

this.cpuUsage = cpuUsage;

}

@Override

public String toString() {

return "Server [name=" + name + ", processors=" + processors + ", memory=" + memory + ", diskSpace=" + diskSpace

+ ", cpuUsage=" + cpuUsage + ", getName()=" + getName() + ", getProcessors()=" + getProcessors()

+ ", getMemory()=" + getMemory() + ", getDiskSpace()=" + getDiskSpace() + ", getCpuUsage()="

+ getCpuUsage() + ", getClass()=" + getClass() + ", hashCode()=" + hashCode() + ", toString()="

+ super.toString() + "]";

}

}


번호 제목 날짜 조회 수
78 cumulusRDF 1.0.1설치및 "KeyspaceCumulus" keyspace확인하기 file 2016.04.15 8723
77 LUBM 데이타 생성구문 2017.07.24 7512
76 protege 설명및 사용법 file 2017.04.04 6116
75 System Properties Comparison Elasticsearch vs. Hive vs. Jena file 2016.03.10 5714
74 9대가 hbase cluster로 구성된 서버에서 테스트 data를 halyard에 적재하고 테스트 하는 방법및 절차 2017.07.21 4733
73 Jena 2.3를 Hadoop 2.7.2의 NFS로 mount하고 fuseki를 이용하여 start할때 오류 메세지 2016.12.02 4497
72 커리 변경 이벤트를 처리하기 위한 구현클래스 2016.07.21 4343
» ServerInfo객체파일 2016.07.21 4149
70 solrdf초기 기동시 "Caused by: java.lang.IllegalAccessError: tried to access field org.apache.solr.handler.RequestHandlerBase.log from class org.gazzax.labs.solrdf.handler.update.RdfUpdateRequestHandler" 오류가 발생시 조치사항 2016.04.22 4091
69 drools에서 drl관련 로그를 기록하기 위한 클래스 파일 2016.07.21 4067
68 halyard의 console스크립트에서 생성한 repository는 RDF4J Web Applications에서 공유가 되지 않는다. 2017.07.05 4040
67 SPIN(SPARQL Inference Notation)이란.. file 2016.02.25 3992
66 Drools 6.0 - 비즈니스 룰 기반으로 간단한 룰 애플리케이션 만들기 file 2016.07.18 3943
65 python실행시 ValueError: zero length field name in format오류 해결방법 2016.05.27 3929
64 특정문자열이나 URI를 임의로 select 절에 지정하여 사용할때 사용하는 sparql 문장 2016.08.25 3906
63 update(update와 delete->insert)사용시 주의/참고사항 2016.01.06 3817
62 fuseki가 제공하는 web ui를 통해서 dataset를 remove->create할 경우 동일한 동일한 이름으로 지정했을때 fuseki-server.jar가 뜨지 않는 현상 2017.02.03 3790
61 DeviceType이 o:motion-sensor_33 이거나 o:motion-sensor_32 경우의 sparql문장은 다음과 같다. 2017.08.16 3772
60 fuseki에서 제공하는 script중 s-post를 사용하는 예문 2017.09.15 3771
59 [oneM2M]Ontologies used for oneM2M 2017.08.02 3762
위로