Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
gdyjdao
SkyWalking
提交
932dbbc7
S
SkyWalking
项目概览
gdyjdao
/
SkyWalking
与 Fork 源项目一致
Fork自
apache / SkyWalking
通知
1
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
S
SkyWalking
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
932dbbc7
编写于
11月 09, 2017
作者:
P
peng-yongsheng
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
JVM worker
上级
27dfc3e5
变更
22
隐藏空白更改
内联
并排
Showing
22 changed file
with
200 addition
and
76 deletion
+200
-76
apm-collector/apm-collector-agent/collector-agent-grpc-provider/src/main/java/org/skywalking/apm/collector/agent/grpc/handler/JVMMetricsServiceHandler.java
...ollector/agent/grpc/handler/JVMMetricsServiceHandler.java
+10
-10
apm-collector/apm-collector-agent/collector-agent-stream/src/main/java/org/skywalking/apm/collector/agent/stream/graph/JvmMetricStreamGraph.java
...pm/collector/agent/stream/graph/JvmMetricStreamGraph.java
+2
-10
apm-collector/apm-collector-agent/collector-agent-stream/src/main/java/org/skywalking/apm/collector/agent/stream/worker/jvm/CpuMetricPersistenceWorker.java
...r/agent/stream/worker/jvm/CpuMetricPersistenceWorker.java
+2
-2
apm-collector/apm-collector-agent/collector-agent-stream/src/main/java/org/skywalking/apm/collector/agent/stream/worker/jvm/GCMetricPersistenceWorker.java
...or/agent/stream/worker/jvm/GCMetricPersistenceWorker.java
+37
-5
apm-collector/apm-collector-agent/collector-agent-stream/src/main/java/org/skywalking/apm/collector/agent/stream/worker/jvm/InstHeartBeatPersistenceWorker.java
...ent/stream/worker/jvm/InstHeartBeatPersistenceWorker.java
+36
-4
apm-collector/apm-collector-agent/collector-agent-stream/src/main/java/org/skywalking/apm/collector/agent/stream/worker/jvm/MemoryMetricPersistenceWorker.java
...gent/stream/worker/jvm/MemoryMetricPersistenceWorker.java
+36
-4
apm-collector/apm-collector-agent/collector-agent-stream/src/main/java/org/skywalking/apm/collector/agent/stream/worker/jvm/MemoryPoolMetricPersistenceWorker.java
.../stream/worker/jvm/MemoryPoolMetricPersistenceWorker.java
+36
-4
apm-collector/apm-collector-storage/collector-storage-define/src/main/java/org/skywalking/apm/collector/storage/dao/ICpuMetricPersistenceDAO.java
...g/apm/collector/storage/dao/ICpuMetricPersistenceDAO.java
+4
-1
apm-collector/apm-collector-storage/collector-storage-define/src/main/java/org/skywalking/apm/collector/storage/dao/IGCMetricPersistenceDAO.java
...ng/apm/collector/storage/dao/IGCMetricPersistenceDAO.java
+1
-1
apm-collector/apm-collector-storage/collector-storage-define/src/main/java/org/skywalking/apm/collector/storage/dao/IInstanceHeartBeatPersistenceDAO.java
...llector/storage/dao/IInstanceHeartBeatPersistenceDAO.java
+4
-1
apm-collector/apm-collector-storage/collector-storage-define/src/main/java/org/skywalking/apm/collector/storage/dao/IMemoryMetricPersistenceDAO.java
...pm/collector/storage/dao/IMemoryMetricPersistenceDAO.java
+4
-1
apm-collector/apm-collector-storage/collector-storage-define/src/main/java/org/skywalking/apm/collector/storage/dao/IMemoryPoolMetricPersistenceDAO.java
...ollector/storage/dao/IMemoryPoolMetricPersistenceDAO.java
+4
-1
apm-collector/apm-collector-storage/collector-storage-es-provider/src/main/java/org/skywalking/apm/collector/storage/es/dao/CpuMetricEsPersistenceDAO.java
...m/collector/storage/es/dao/CpuMetricEsPersistenceDAO.java
+3
-3
apm-collector/apm-collector-storage/collector-storage-es-provider/src/main/java/org/skywalking/apm/collector/storage/es/dao/GCMetricEsPersistenceDAO.java
...pm/collector/storage/es/dao/GCMetricEsPersistenceDAO.java
+2
-3
apm-collector/apm-collector-storage/collector-storage-es-provider/src/main/java/org/skywalking/apm/collector/storage/es/dao/InstanceHeartBeatEsPersistenceDAO.java
...tor/storage/es/dao/InstanceHeartBeatEsPersistenceDAO.java
+3
-4
apm-collector/apm-collector-storage/collector-storage-es-provider/src/main/java/org/skywalking/apm/collector/storage/es/dao/MemoryMetricEsPersistenceDAO.java
...ollector/storage/es/dao/MemoryMetricEsPersistenceDAO.java
+2
-3
apm-collector/apm-collector-storage/collector-storage-es-provider/src/main/java/org/skywalking/apm/collector/storage/es/dao/MemoryPoolMetricEsPersistenceDAO.java
...ctor/storage/es/dao/MemoryPoolMetricEsPersistenceDAO.java
+2
-3
apm-collector/apm-collector-storage/collector-storage-h2-provider/src/main/java/org/skywalking/apm/collector/storage/h2/dao/CpuMetricH2PersistenceDAO.java
...m/collector/storage/h2/dao/CpuMetricH2PersistenceDAO.java
+3
-3
apm-collector/apm-collector-storage/collector-storage-h2-provider/src/main/java/org/skywalking/apm/collector/storage/h2/dao/GCMetricH2PersistenceDAO.java
...pm/collector/storage/h2/dao/GCMetricH2PersistenceDAO.java
+2
-3
apm-collector/apm-collector-storage/collector-storage-h2-provider/src/main/java/org/skywalking/apm/collector/storage/h2/dao/InstanceHeartBeatH2PersistenceDAO.java
...tor/storage/h2/dao/InstanceHeartBeatH2PersistenceDAO.java
+3
-4
apm-collector/apm-collector-storage/collector-storage-h2-provider/src/main/java/org/skywalking/apm/collector/storage/h2/dao/MemoryMetricH2PersistenceDAO.java
...ollector/storage/h2/dao/MemoryMetricH2PersistenceDAO.java
+2
-3
apm-collector/apm-collector-storage/collector-storage-h2-provider/src/main/java/org/skywalking/apm/collector/storage/h2/dao/MemoryPoolMetricH2PersistenceDAO.java
...ctor/storage/h2/dao/MemoryPoolMetricH2PersistenceDAO.java
+2
-3
未找到文件。
apm-collector/apm-collector-agent/collector-agent-grpc-provider/src/main/java/org/skywalking/apm/collector/agent/grpc/handler/JVMMetricsServiceHandler.java
浏览文件 @
932dbbc7
...
...
@@ -48,18 +48,18 @@ public class JVMMetricsServiceHandler extends JVMMetricsServiceGrpc.JVMMetricsSe
private
final
Logger
logger
=
LoggerFactory
.
getLogger
(
JVMMetricsServiceHandler
.
class
);
private
final
Graph
memoryMetricGraph
;
private
final
Graph
memoryPoolMetricGraph
;
private
final
Graph
gcMetricGraph
;
private
final
Graph
cpuMetricGraph
;
private
final
Graph
heartBeatGraph
;
private
final
Graph
<
MemoryMetric
>
memoryMetricGraph
;
private
final
Graph
<
MemoryPoolMetric
>
memoryPoolMetricGraph
;
private
final
Graph
<
GCMetric
>
gcMetricGraph
;
private
final
Graph
<
CpuMetric
>
cpuMetricGraph
;
private
final
Graph
<
Instance
>
heartBeatGraph
;
public
JVMMetricsServiceHandler
()
{
memory
PoolMetricGraph
=
GraphManager
.
INSTANCE
.
findGraph
(
JvmMetricStreamGraph
.
MEMORY_POOL_METRIC_GRAPH_ID
);
memory
MetricGraph
=
GraphManager
.
INSTANCE
.
findGraph
(
JvmMetricStreamGraph
.
MEMORY_METRIC_GRAPH_ID
);
gcMetricGraph
=
GraphManager
.
INSTANCE
.
findGraph
(
JvmMetricStreamGraph
.
GC_METRIC_GRAPH_ID
);
cpuMetricGraph
=
GraphManager
.
INSTANCE
.
findGraph
(
JvmMetricStreamGraph
.
CPU_METRIC_GRAPH_ID
);
heartBeatGraph
=
GraphManager
.
INSTANCE
.
findGraph
(
JvmMetricStreamGraph
.
INST_HEART_BEAT_GRAPH_ID
);
memory
MetricGraph
=
GraphManager
.
INSTANCE
.
createIfAbsent
(
JvmMetricStreamGraph
.
MEMORY_METRIC_GRAPH_ID
,
MemoryMetric
.
class
);
memory
PoolMetricGraph
=
GraphManager
.
INSTANCE
.
createIfAbsent
(
JvmMetricStreamGraph
.
MEMORY_POOL_METRIC_GRAPH_ID
,
MemoryPoolMetric
.
class
);
gcMetricGraph
=
GraphManager
.
INSTANCE
.
createIfAbsent
(
JvmMetricStreamGraph
.
GC_METRIC_GRAPH_ID
,
GCMetric
.
class
);
cpuMetricGraph
=
GraphManager
.
INSTANCE
.
createIfAbsent
(
JvmMetricStreamGraph
.
CPU_METRIC_GRAPH_ID
,
CpuMetric
.
class
);
heartBeatGraph
=
GraphManager
.
INSTANCE
.
createIfAbsent
(
JvmMetricStreamGraph
.
INST_HEART_BEAT_GRAPH_ID
,
Instance
.
class
);
}
@Override
public
void
collect
(
JVMMetrics
request
,
StreamObserver
<
Downstream
>
responseObserver
)
{
...
...
apm-collector/apm-collector-agent/collector-agent-stream/src/main/java/org/skywalking/apm/collector/agent/stream/graph/JvmMetricStreamGraph.java
浏览文件 @
932dbbc7
...
...
@@ -18,10 +18,6 @@
package
org.skywalking.apm.collector.agent.stream.graph
;
import
org.skywalking.apm.collector.agent.stream.worker.jvm.GCMetricPersistenceWorker
;
import
org.skywalking.apm.collector.agent.stream.worker.jvm.InstHeartBeatPersistenceWorker
;
import
org.skywalking.apm.collector.agent.stream.worker.jvm.MemoryMetricPersistenceWorker
;
import
org.skywalking.apm.collector.agent.stream.worker.jvm.MemoryPoolMetricPersistenceWorker
;
import
org.skywalking.apm.collector.core.graph.Graph
;
import
org.skywalking.apm.collector.core.graph.GraphManager
;
import
org.skywalking.apm.collector.storage.table.jvm.CpuMetric
;
...
...
@@ -42,32 +38,28 @@ public class JvmMetricStreamGraph {
public
static
final
int
CPU_METRIC_GRAPH_ID
=
103
;
public
static
final
int
INST_HEART_BEAT_GRAPH_ID
=
104
;
public
Graph
<
GCMetric
>
createG
C
MetricGraph
()
{
public
Graph
<
GCMetric
>
createG
c
MetricGraph
()
{
Graph
<
GCMetric
>
graph
=
GraphManager
.
INSTANCE
.
createIfAbsent
(
GC_METRIC_GRAPH_ID
,
GCMetric
.
class
);
graph
.
addNode
(
new
GCMetricPersistenceWorker
());
return
graph
;
}
public
Graph
<
CpuMetric
>
createC
PU
MetricGraph
()
throws
ProviderNotFoundException
{
public
Graph
<
CpuMetric
>
createC
pu
MetricGraph
()
throws
ProviderNotFoundException
{
Graph
<
CpuMetric
>
graph
=
GraphManager
.
INSTANCE
.
createIfAbsent
(
CPU_METRIC_GRAPH_ID
,
CpuMetric
.
class
);
return
graph
;
}
public
Graph
<
MemoryMetric
>
createMemoryMetricGraph
()
{
Graph
<
MemoryMetric
>
graph
=
GraphManager
.
INSTANCE
.
createIfAbsent
(
MEMORY_METRIC_GRAPH_ID
,
MemoryMetric
.
class
);
graph
.
addNode
(
new
MemoryMetricPersistenceWorker
());
return
graph
;
}
public
Graph
<
MemoryPoolMetric
>
createMemoryPoolMetricGraph
()
{
Graph
<
MemoryPoolMetric
>
graph
=
GraphManager
.
INSTANCE
.
createIfAbsent
(
MEMORY_POOL_METRIC_GRAPH_ID
,
MemoryPoolMetric
.
class
);
graph
.
addNode
(
new
MemoryPoolMetricPersistenceWorker
());
return
graph
;
}
public
Graph
<
Instance
>
createHeartBeatGraph
()
{
Graph
<
Instance
>
graph
=
GraphManager
.
INSTANCE
.
createIfAbsent
(
INST_HEART_BEAT_GRAPH_ID
,
Instance
.
class
);
graph
.
addNode
(
new
InstHeartBeatPersistenceWorker
());
return
graph
;
}
}
apm-collector/apm-collector-agent/collector-agent-stream/src/main/java/org/skywalking/apm/collector/agent/stream/worker/jvm/CpuMetricPersistenceWorker.java
浏览文件 @
932dbbc7
...
...
@@ -20,7 +20,7 @@ package org.skywalking.apm.collector.agent.stream.worker.jvm;
import
org.skywalking.apm.collector.queue.service.QueueCreatorService
;
import
org.skywalking.apm.collector.storage.base.dao.IPersistenceDAO
;
import
org.skywalking.apm.collector.storage.dao.ICpuMetric
Stream
DAO
;
import
org.skywalking.apm.collector.storage.dao.ICpuMetric
Persistence
DAO
;
import
org.skywalking.apm.collector.storage.service.DAOService
;
import
org.skywalking.apm.collector.storage.table.jvm.CpuMetric
;
import
org.skywalking.apm.collector.stream.worker.base.AbstractLocalAsyncWorkerProvider
;
...
...
@@ -47,7 +47,7 @@ public class CpuMetricPersistenceWorker extends PersistenceWorker<CpuMetric, Cpu
}
@Override
protected
IPersistenceDAO
persistenceDAO
()
{
return
daoService
.
getPersistenceDAO
(
ICpuMetric
Stream
DAO
.
class
);
return
daoService
.
getPersistenceDAO
(
ICpuMetric
Persistence
DAO
.
class
);
}
public
static
class
Factory
extends
AbstractLocalAsyncWorkerProvider
<
CpuMetric
,
CpuMetric
,
CpuMetricPersistenceWorker
>
{
...
...
apm-collector/apm-collector-agent/collector-agent-stream/src/main/java/org/skywalking/apm/collector/agent/stream/worker/jvm/GCMetricPersistenceWorker.java
浏览文件 @
932dbbc7
...
...
@@ -18,20 +18,52 @@
package
org.skywalking.apm.collector.agent.stream.worker.jvm
;
import
org.skywalking.apm.collector.core.graph.Next
;
import
org.skywalking.apm.collector.core.graph.NodeProcessor
;
import
org.skywalking.apm.collector.queue.service.QueueCreatorService
;
import
org.skywalking.apm.collector.storage.base.dao.IPersistenceDAO
;
import
org.skywalking.apm.collector.storage.dao.IGCMetricPersistenceDAO
;
import
org.skywalking.apm.collector.storage.service.DAOService
;
import
org.skywalking.apm.collector.storage.table.jvm.GCMetric
;
import
org.skywalking.apm.collector.stream.worker.base.AbstractLocalAsyncWorkerProvider
;
import
org.skywalking.apm.collector.stream.worker.impl.PersistenceWorker
;
/**
* @author peng-yongsheng
*/
public
class
GCMetricPersistenceWorker
implements
NodeProcessor
<
GCMetric
,
GCMetric
>
{
public
class
GCMetricPersistenceWorker
extends
PersistenceWorker
<
GCMetric
,
GCMetric
>
{
private
final
DAOService
daoService
;
@Override
public
int
id
()
{
return
1
;
return
0
;
}
public
GCMetricPersistenceWorker
(
DAOService
daoService
)
{
super
(
daoService
);
this
.
daoService
=
daoService
;
}
@Override
protected
boolean
needMergeDBData
()
{
return
false
;
}
@Override
public
void
process
(
GCMetric
INPUT
,
Next
<
GCMetric
>
next
)
{
@Override
protected
IPersistenceDAO
persistenceDAO
()
{
return
daoService
.
getPersistenceDAO
(
IGCMetricPersistenceDAO
.
class
);
}
public
static
class
Factory
extends
AbstractLocalAsyncWorkerProvider
<
GCMetric
,
GCMetric
,
GCMetricPersistenceWorker
>
{
public
Factory
(
DAOService
daoService
,
QueueCreatorService
<
GCMetric
>
queueCreatorService
)
{
super
(
daoService
,
queueCreatorService
);
}
@Override
public
GCMetricPersistenceWorker
workerInstance
(
DAOService
daoService
)
{
return
new
GCMetricPersistenceWorker
(
daoService
);
}
@Override
public
int
queueSize
()
{
return
1024
;
}
}
}
apm-collector/apm-collector-agent/collector-agent-stream/src/main/java/org/skywalking/apm/collector/agent/stream/worker/jvm/InstHeartBeatPersistenceWorker.java
浏览文件 @
932dbbc7
...
...
@@ -18,20 +18,52 @@
package
org.skywalking.apm.collector.agent.stream.worker.jvm
;
import
org.skywalking.apm.collector.core.graph.Next
;
import
org.skywalking.apm.collector.core.graph.NodeProcessor
;
import
org.skywalking.apm.collector.queue.service.QueueCreatorService
;
import
org.skywalking.apm.collector.storage.base.dao.IPersistenceDAO
;
import
org.skywalking.apm.collector.storage.dao.IInstanceHeartBeatPersistenceDAO
;
import
org.skywalking.apm.collector.storage.service.DAOService
;
import
org.skywalking.apm.collector.storage.table.register.Instance
;
import
org.skywalking.apm.collector.stream.worker.base.AbstractLocalAsyncWorkerProvider
;
import
org.skywalking.apm.collector.stream.worker.impl.PersistenceWorker
;
/**
* @author peng-yongsheng
*/
public
class
InstHeartBeatPersistenceWorker
implements
NodeProcessor
<
Instance
,
Instance
>
{
public
class
InstHeartBeatPersistenceWorker
extends
PersistenceWorker
<
Instance
,
Instance
>
{
private
final
DAOService
daoService
;
@Override
public
int
id
()
{
return
0
;
}
@Override
public
void
process
(
Instance
INPUT
,
Next
<
Instance
>
next
)
{
public
InstHeartBeatPersistenceWorker
(
DAOService
daoService
)
{
super
(
daoService
);
this
.
daoService
=
daoService
;
}
@Override
protected
boolean
needMergeDBData
()
{
return
true
;
}
@Override
protected
IPersistenceDAO
persistenceDAO
()
{
return
daoService
.
getPersistenceDAO
(
IInstanceHeartBeatPersistenceDAO
.
class
);
}
public
static
class
Factory
extends
AbstractLocalAsyncWorkerProvider
<
Instance
,
Instance
,
InstHeartBeatPersistenceWorker
>
{
public
Factory
(
DAOService
daoService
,
QueueCreatorService
<
Instance
>
queueCreatorService
)
{
super
(
daoService
,
queueCreatorService
);
}
@Override
public
InstHeartBeatPersistenceWorker
workerInstance
(
DAOService
daoService
)
{
return
new
InstHeartBeatPersistenceWorker
(
daoService
);
}
@Override
public
int
queueSize
()
{
return
1024
;
}
}
}
apm-collector/apm-collector-agent/collector-agent-stream/src/main/java/org/skywalking/apm/collector/agent/stream/worker/jvm/MemoryMetricPersistenceWorker.java
浏览文件 @
932dbbc7
...
...
@@ -18,20 +18,52 @@
package
org.skywalking.apm.collector.agent.stream.worker.jvm
;
import
org.skywalking.apm.collector.core.graph.Next
;
import
org.skywalking.apm.collector.core.graph.NodeProcessor
;
import
org.skywalking.apm.collector.queue.service.QueueCreatorService
;
import
org.skywalking.apm.collector.storage.base.dao.IPersistenceDAO
;
import
org.skywalking.apm.collector.storage.dao.IMemoryMetricPersistenceDAO
;
import
org.skywalking.apm.collector.storage.service.DAOService
;
import
org.skywalking.apm.collector.storage.table.jvm.MemoryMetric
;
import
org.skywalking.apm.collector.stream.worker.base.AbstractLocalAsyncWorkerProvider
;
import
org.skywalking.apm.collector.stream.worker.impl.PersistenceWorker
;
/**
* @author peng-yongsheng
*/
public
class
MemoryMetricPersistenceWorker
implements
NodeProcessor
<
MemoryMetric
,
MemoryMetric
>
{
public
class
MemoryMetricPersistenceWorker
extends
PersistenceWorker
<
MemoryMetric
,
MemoryMetric
>
{
private
final
DAOService
daoService
;
@Override
public
int
id
()
{
return
0
;
}
@Override
public
void
process
(
MemoryMetric
INPUT
,
Next
<
MemoryMetric
>
next
)
{
public
MemoryMetricPersistenceWorker
(
DAOService
daoService
)
{
super
(
daoService
);
this
.
daoService
=
daoService
;
}
@Override
protected
boolean
needMergeDBData
()
{
return
false
;
}
@Override
protected
IPersistenceDAO
persistenceDAO
()
{
return
daoService
.
getPersistenceDAO
(
IMemoryMetricPersistenceDAO
.
class
);
}
public
static
class
Factory
extends
AbstractLocalAsyncWorkerProvider
<
MemoryMetric
,
MemoryMetric
,
MemoryMetricPersistenceWorker
>
{
public
Factory
(
DAOService
daoService
,
QueueCreatorService
<
MemoryMetric
>
queueCreatorService
)
{
super
(
daoService
,
queueCreatorService
);
}
@Override
public
MemoryMetricPersistenceWorker
workerInstance
(
DAOService
daoService
)
{
return
new
MemoryMetricPersistenceWorker
(
daoService
);
}
@Override
public
int
queueSize
()
{
return
1024
;
}
}
}
apm-collector/apm-collector-agent/collector-agent-stream/src/main/java/org/skywalking/apm/collector/agent/stream/worker/jvm/MemoryPoolMetricPersistenceWorker.java
浏览文件 @
932dbbc7
...
...
@@ -18,20 +18,52 @@
package
org.skywalking.apm.collector.agent.stream.worker.jvm
;
import
org.skywalking.apm.collector.core.graph.Next
;
import
org.skywalking.apm.collector.core.graph.NodeProcessor
;
import
org.skywalking.apm.collector.queue.service.QueueCreatorService
;
import
org.skywalking.apm.collector.storage.base.dao.IPersistenceDAO
;
import
org.skywalking.apm.collector.storage.dao.IMemoryPoolMetricPersistenceDAO
;
import
org.skywalking.apm.collector.storage.service.DAOService
;
import
org.skywalking.apm.collector.storage.table.jvm.MemoryPoolMetric
;
import
org.skywalking.apm.collector.stream.worker.base.AbstractLocalAsyncWorkerProvider
;
import
org.skywalking.apm.collector.stream.worker.impl.PersistenceWorker
;
/**
* @author peng-yongsheng
*/
public
class
MemoryPoolMetricPersistenceWorker
implements
NodeProcessor
<
MemoryPoolMetric
,
MemoryPoolMetric
>
{
public
class
MemoryPoolMetricPersistenceWorker
extends
PersistenceWorker
<
MemoryPoolMetric
,
MemoryPoolMetric
>
{
private
final
DAOService
daoService
;
@Override
public
int
id
()
{
return
0
;
}
@Override
public
void
process
(
MemoryPoolMetric
INPUT
,
Next
<
MemoryPoolMetric
>
next
)
{
public
MemoryPoolMetricPersistenceWorker
(
DAOService
daoService
)
{
super
(
daoService
);
this
.
daoService
=
daoService
;
}
@Override
protected
boolean
needMergeDBData
()
{
return
false
;
}
@Override
protected
IPersistenceDAO
persistenceDAO
()
{
return
daoService
.
getPersistenceDAO
(
IMemoryPoolMetricPersistenceDAO
.
class
);
}
public
static
class
Factory
extends
AbstractLocalAsyncWorkerProvider
<
MemoryPoolMetric
,
MemoryPoolMetric
,
MemoryPoolMetricPersistenceWorker
>
{
public
Factory
(
DAOService
daoService
,
QueueCreatorService
<
MemoryPoolMetric
>
queueCreatorService
)
{
super
(
daoService
,
queueCreatorService
);
}
@Override
public
MemoryPoolMetricPersistenceWorker
workerInstance
(
DAOService
daoService
)
{
return
new
MemoryPoolMetricPersistenceWorker
(
daoService
);
}
@Override
public
int
queueSize
()
{
return
1024
;
}
}
}
apm-collector/apm-collector-storage/collector-storage-define/src/main/java/org/skywalking/apm/collector/storage/dao/I
GCMetricStream
DAO.java
→
apm-collector/apm-collector-storage/collector-storage-define/src/main/java/org/skywalking/apm/collector/storage/dao/I
CpuMetricPersistence
DAO.java
浏览文件 @
932dbbc7
...
...
@@ -18,8 +18,11 @@
package
org.skywalking.apm.collector.storage.dao
;
import
org.skywalking.apm.collector.core.data.Data
;
import
org.skywalking.apm.collector.storage.base.dao.IPersistenceDAO
;
/**
* @author peng-yongsheng
*/
public
interface
I
GCMetricStreamDAO
{
public
interface
I
CpuMetricPersistenceDAO
<
Insert
,
Update
,
DataImpl
extends
Data
>
extends
IPersistenceDAO
<
Insert
,
Update
,
DataImpl
>
{
}
apm-collector/apm-collector-storage/collector-storage-define/src/main/java/org/skywalking/apm/collector/storage/dao/I
CpuMetricStream
DAO.java
→
apm-collector/apm-collector-storage/collector-storage-define/src/main/java/org/skywalking/apm/collector/storage/dao/I
GCMetricPersistence
DAO.java
浏览文件 @
932dbbc7
...
...
@@ -24,5 +24,5 @@ import org.skywalking.apm.collector.storage.base.dao.IPersistenceDAO;
/**
* @author peng-yongsheng
*/
public
interface
I
CpuMetricStream
DAO
<
Insert
,
Update
,
DataImpl
extends
Data
>
extends
IPersistenceDAO
<
Insert
,
Update
,
DataImpl
>
{
public
interface
I
GCMetricPersistence
DAO
<
Insert
,
Update
,
DataImpl
extends
Data
>
extends
IPersistenceDAO
<
Insert
,
Update
,
DataImpl
>
{
}
apm-collector/apm-collector-storage/collector-storage-define/src/main/java/org/skywalking/apm/collector/storage/dao/IInstanceHeartBeatDAO.java
→
apm-collector/apm-collector-storage/collector-storage-define/src/main/java/org/skywalking/apm/collector/storage/dao/IInstanceHeartBeat
Persistence
DAO.java
浏览文件 @
932dbbc7
...
...
@@ -18,8 +18,11 @@
package
org.skywalking.apm.collector.storage.dao
;
import
org.skywalking.apm.collector.core.data.Data
;
import
org.skywalking.apm.collector.storage.base.dao.IPersistenceDAO
;
/**
* @author peng-yongsheng
*/
public
interface
IInstanceHeartBeat
DAO
{
public
interface
IInstanceHeartBeat
PersistenceDAO
<
Insert
,
Update
,
DataImpl
extends
Data
>
extends
IPersistenceDAO
<
Insert
,
Update
,
DataImpl
>
{
}
\ No newline at end of file
apm-collector/apm-collector-storage/collector-storage-define/src/main/java/org/skywalking/apm/collector/storage/dao/IMemory
PoolMetric
DAO.java
→
apm-collector/apm-collector-storage/collector-storage-define/src/main/java/org/skywalking/apm/collector/storage/dao/IMemory
MetricPersistence
DAO.java
浏览文件 @
932dbbc7
...
...
@@ -18,8 +18,11 @@
package
org.skywalking.apm.collector.storage.dao
;
import
org.skywalking.apm.collector.core.data.Data
;
import
org.skywalking.apm.collector.storage.base.dao.IPersistenceDAO
;
/**
* @author peng-yongsheng
*/
public
interface
IMemory
PoolMetricDAO
{
public
interface
IMemory
MetricPersistenceDAO
<
Insert
,
Update
,
DataImpl
extends
Data
>
extends
IPersistenceDAO
<
Insert
,
Update
,
DataImpl
>
{
}
apm-collector/apm-collector-storage/collector-storage-define/src/main/java/org/skywalking/apm/collector/storage/dao/IMemory
Metric
DAO.java
→
apm-collector/apm-collector-storage/collector-storage-define/src/main/java/org/skywalking/apm/collector/storage/dao/IMemory
PoolMetricPersistence
DAO.java
浏览文件 @
932dbbc7
...
...
@@ -18,8 +18,11 @@
package
org.skywalking.apm.collector.storage.dao
;
import
org.skywalking.apm.collector.core.data.Data
;
import
org.skywalking.apm.collector.storage.base.dao.IPersistenceDAO
;
/**
* @author peng-yongsheng
*/
public
interface
IMemory
MetricDAO
{
public
interface
IMemory
PoolMetricPersistenceDAO
<
Insert
,
Update
,
DataImpl
extends
Data
>
extends
IPersistenceDAO
<
Insert
,
Update
,
DataImpl
>
{
}
apm-collector/apm-collector-storage/collector-storage-es-provider/src/main/java/org/skywalking/apm/collector/storage/es/dao/CpuMetricEs
Stream
DAO.java
→
apm-collector/apm-collector-storage/collector-storage-es-provider/src/main/java/org/skywalking/apm/collector/storage/es/dao/CpuMetricEs
Persistence
DAO.java
浏览文件 @
932dbbc7
...
...
@@ -22,7 +22,7 @@ import java.util.HashMap;
import
java.util.Map
;
import
org.elasticsearch.action.index.IndexRequestBuilder
;
import
org.elasticsearch.action.update.UpdateRequestBuilder
;
import
org.skywalking.apm.collector.storage.dao.ICpuMetric
Stream
DAO
;
import
org.skywalking.apm.collector.storage.dao.ICpuMetric
Persistence
DAO
;
import
org.skywalking.apm.collector.storage.es.base.dao.EsDAO
;
import
org.skywalking.apm.collector.storage.table.jvm.CpuMetric
;
import
org.skywalking.apm.collector.storage.table.jvm.CpuMetricTable
;
...
...
@@ -32,9 +32,9 @@ import org.slf4j.LoggerFactory;
/**
* @author peng-yongsheng
*/
public
class
CpuMetricEs
StreamDAO
extends
EsDAO
implements
ICpuMetricStream
DAO
<
IndexRequestBuilder
,
UpdateRequestBuilder
,
CpuMetric
>
{
public
class
CpuMetricEs
PersistenceDAO
extends
EsDAO
implements
ICpuMetricPersistence
DAO
<
IndexRequestBuilder
,
UpdateRequestBuilder
,
CpuMetric
>
{
private
final
Logger
logger
=
LoggerFactory
.
getLogger
(
CpuMetricEs
Stream
DAO
.
class
);
private
final
Logger
logger
=
LoggerFactory
.
getLogger
(
CpuMetricEs
Persistence
DAO
.
class
);
@Override
public
CpuMetric
get
(
String
id
)
{
return
null
;
...
...
apm-collector/apm-collector-storage/collector-storage-es-provider/src/main/java/org/skywalking/apm/collector/storage/es/dao/GCMetricEs
Stream
DAO.java
→
apm-collector/apm-collector-storage/collector-storage-es-provider/src/main/java/org/skywalking/apm/collector/storage/es/dao/GCMetricEs
Persistence
DAO.java
浏览文件 @
932dbbc7
...
...
@@ -22,8 +22,7 @@ import java.util.HashMap;
import
java.util.Map
;
import
org.elasticsearch.action.index.IndexRequestBuilder
;
import
org.elasticsearch.action.update.UpdateRequestBuilder
;
import
org.skywalking.apm.collector.storage.base.dao.IPersistenceDAO
;
import
org.skywalking.apm.collector.storage.dao.IGCMetricStreamDAO
;
import
org.skywalking.apm.collector.storage.dao.IGCMetricPersistenceDAO
;
import
org.skywalking.apm.collector.storage.es.base.dao.EsDAO
;
import
org.skywalking.apm.collector.storage.table.jvm.GCMetric
;
import
org.skywalking.apm.collector.storage.table.jvm.GCMetricTable
;
...
...
@@ -31,7 +30,7 @@ import org.skywalking.apm.collector.storage.table.jvm.GCMetricTable;
/**
* @author peng-yongsheng
*/
public
class
GCMetricEs
StreamDAO
extends
EsDAO
implements
IGCMetricStreamDAO
,
I
PersistenceDAO
<
IndexRequestBuilder
,
UpdateRequestBuilder
,
GCMetric
>
{
public
class
GCMetricEs
PersistenceDAO
extends
EsDAO
implements
IGCMetric
PersistenceDAO
<
IndexRequestBuilder
,
UpdateRequestBuilder
,
GCMetric
>
{
@Override
public
GCMetric
get
(
String
id
)
{
return
null
;
...
...
apm-collector/apm-collector-storage/collector-storage-es-provider/src/main/java/org/skywalking/apm/collector/storage/es/dao/InstanceHeartBeatEsDAO.java
→
apm-collector/apm-collector-storage/collector-storage-es-provider/src/main/java/org/skywalking/apm/collector/storage/es/dao/InstanceHeartBeatEs
Persistence
DAO.java
浏览文件 @
932dbbc7
...
...
@@ -24,8 +24,7 @@ import org.elasticsearch.action.get.GetResponse;
import
org.elasticsearch.action.index.IndexRequestBuilder
;
import
org.elasticsearch.action.update.UpdateRequestBuilder
;
import
org.skywalking.apm.collector.core.UnexpectedException
;
import
org.skywalking.apm.collector.storage.base.dao.IPersistenceDAO
;
import
org.skywalking.apm.collector.storage.dao.IInstanceHeartBeatDAO
;
import
org.skywalking.apm.collector.storage.dao.IInstanceHeartBeatPersistenceDAO
;
import
org.skywalking.apm.collector.storage.es.base.dao.EsDAO
;
import
org.skywalking.apm.collector.storage.table.register.Instance
;
import
org.skywalking.apm.collector.storage.table.register.InstanceTable
;
...
...
@@ -35,9 +34,9 @@ import org.slf4j.LoggerFactory;
/**
* @author peng-yongsheng
*/
public
class
InstanceHeartBeatEs
DAO
extends
EsDAO
implements
IInstanceHeartBeatDAO
,
I
PersistenceDAO
<
IndexRequestBuilder
,
UpdateRequestBuilder
,
Instance
>
{
public
class
InstanceHeartBeatEs
PersistenceDAO
extends
EsDAO
implements
IInstanceHeartBeat
PersistenceDAO
<
IndexRequestBuilder
,
UpdateRequestBuilder
,
Instance
>
{
private
final
Logger
logger
=
LoggerFactory
.
getLogger
(
InstanceHeartBeatEsDAO
.
class
);
private
final
Logger
logger
=
LoggerFactory
.
getLogger
(
InstanceHeartBeatEs
Persistence
DAO
.
class
);
@Override
public
Instance
get
(
String
id
)
{
GetResponse
getResponse
=
getClient
().
prepareGet
(
InstanceTable
.
TABLE
,
id
).
get
();
...
...
apm-collector/apm-collector-storage/collector-storage-es-provider/src/main/java/org/skywalking/apm/collector/storage/es/dao/MemoryMetricEsDAO.java
→
apm-collector/apm-collector-storage/collector-storage-es-provider/src/main/java/org/skywalking/apm/collector/storage/es/dao/MemoryMetricEs
Persistence
DAO.java
浏览文件 @
932dbbc7
...
...
@@ -22,8 +22,7 @@ import java.util.HashMap;
import
java.util.Map
;
import
org.elasticsearch.action.index.IndexRequestBuilder
;
import
org.elasticsearch.action.update.UpdateRequestBuilder
;
import
org.skywalking.apm.collector.storage.base.dao.IPersistenceDAO
;
import
org.skywalking.apm.collector.storage.dao.IMemoryMetricDAO
;
import
org.skywalking.apm.collector.storage.dao.IMemoryMetricPersistenceDAO
;
import
org.skywalking.apm.collector.storage.es.base.dao.EsDAO
;
import
org.skywalking.apm.collector.storage.table.jvm.MemoryMetric
;
import
org.skywalking.apm.collector.storage.table.jvm.MemoryMetricTable
;
...
...
@@ -31,7 +30,7 @@ import org.skywalking.apm.collector.storage.table.jvm.MemoryMetricTable;
/**
* @author peng-yongsheng
*/
public
class
MemoryMetricEs
DAO
extends
EsDAO
implements
IMemoryMetricDAO
,
I
PersistenceDAO
<
IndexRequestBuilder
,
UpdateRequestBuilder
,
MemoryMetric
>
{
public
class
MemoryMetricEs
PersistenceDAO
extends
EsDAO
implements
IMemoryMetric
PersistenceDAO
<
IndexRequestBuilder
,
UpdateRequestBuilder
,
MemoryMetric
>
{
@Override
public
MemoryMetric
get
(
String
id
)
{
return
null
;
...
...
apm-collector/apm-collector-storage/collector-storage-es-provider/src/main/java/org/skywalking/apm/collector/storage/es/dao/MemoryPoolMetricEsDAO.java
→
apm-collector/apm-collector-storage/collector-storage-es-provider/src/main/java/org/skywalking/apm/collector/storage/es/dao/MemoryPoolMetricEs
Persistence
DAO.java
浏览文件 @
932dbbc7
...
...
@@ -22,8 +22,7 @@ import java.util.HashMap;
import
java.util.Map
;
import
org.elasticsearch.action.index.IndexRequestBuilder
;
import
org.elasticsearch.action.update.UpdateRequestBuilder
;
import
org.skywalking.apm.collector.storage.base.dao.IPersistenceDAO
;
import
org.skywalking.apm.collector.storage.dao.IMemoryPoolMetricDAO
;
import
org.skywalking.apm.collector.storage.dao.IMemoryPoolMetricPersistenceDAO
;
import
org.skywalking.apm.collector.storage.es.base.dao.EsDAO
;
import
org.skywalking.apm.collector.storage.table.jvm.MemoryPoolMetric
;
import
org.skywalking.apm.collector.storage.table.jvm.MemoryPoolMetricTable
;
...
...
@@ -31,7 +30,7 @@ import org.skywalking.apm.collector.storage.table.jvm.MemoryPoolMetricTable;
/**
* @author peng-yongsheng
*/
public
class
MemoryPoolMetricEs
DAO
extends
EsDAO
implements
IMemoryPoolMetricDAO
,
I
PersistenceDAO
<
IndexRequestBuilder
,
UpdateRequestBuilder
,
MemoryPoolMetric
>
{
public
class
MemoryPoolMetricEs
PersistenceDAO
extends
EsDAO
implements
IMemoryPoolMetric
PersistenceDAO
<
IndexRequestBuilder
,
UpdateRequestBuilder
,
MemoryPoolMetric
>
{
@Override
public
MemoryPoolMetric
get
(
String
id
)
{
return
null
;
...
...
apm-collector/apm-collector-storage/collector-storage-h2-provider/src/main/java/org/skywalking/apm/collector/storage/h2/dao/CpuMetricH2
Stream
DAO.java
→
apm-collector/apm-collector-storage/collector-storage-h2-provider/src/main/java/org/skywalking/apm/collector/storage/h2/dao/CpuMetricH2
Persistence
DAO.java
浏览文件 @
932dbbc7
...
...
@@ -21,7 +21,7 @@ package org.skywalking.apm.collector.storage.h2.dao;
import
java.util.HashMap
;
import
java.util.Map
;
import
org.skywalking.apm.collector.storage.base.sql.SqlBuilder
;
import
org.skywalking.apm.collector.storage.dao.ICpuMetric
Stream
DAO
;
import
org.skywalking.apm.collector.storage.dao.ICpuMetric
Persistence
DAO
;
import
org.skywalking.apm.collector.storage.h2.base.dao.H2DAO
;
import
org.skywalking.apm.collector.storage.h2.base.define.H2SqlEntity
;
import
org.skywalking.apm.collector.storage.table.jvm.CpuMetric
;
...
...
@@ -32,9 +32,9 @@ import org.slf4j.LoggerFactory;
/**
* @author peng-yongsheng, clevertension
*/
public
class
CpuMetricH2
StreamDAO
extends
H2DAO
implements
ICpuMetricStream
DAO
<
H2SqlEntity
,
H2SqlEntity
,
CpuMetric
>
{
public
class
CpuMetricH2
PersistenceDAO
extends
H2DAO
implements
ICpuMetricPersistence
DAO
<
H2SqlEntity
,
H2SqlEntity
,
CpuMetric
>
{
private
final
Logger
logger
=
LoggerFactory
.
getLogger
(
CpuMetricH2
Stream
DAO
.
class
);
private
final
Logger
logger
=
LoggerFactory
.
getLogger
(
CpuMetricH2
Persistence
DAO
.
class
);
@Override
public
CpuMetric
get
(
String
id
)
{
return
null
;
...
...
apm-collector/apm-collector-storage/collector-storage-h2-provider/src/main/java/org/skywalking/apm/collector/storage/h2/dao/GCMetricH2
Stream
DAO.java
→
apm-collector/apm-collector-storage/collector-storage-h2-provider/src/main/java/org/skywalking/apm/collector/storage/h2/dao/GCMetricH2
Persistence
DAO.java
浏览文件 @
932dbbc7
...
...
@@ -20,9 +20,8 @@ package org.skywalking.apm.collector.storage.h2.dao;
import
java.util.HashMap
;
import
java.util.Map
;
import
org.skywalking.apm.collector.storage.base.dao.IPersistenceDAO
;
import
org.skywalking.apm.collector.storage.base.sql.SqlBuilder
;
import
org.skywalking.apm.collector.storage.dao.IGCMetric
Stream
DAO
;
import
org.skywalking.apm.collector.storage.dao.IGCMetric
Persistence
DAO
;
import
org.skywalking.apm.collector.storage.h2.base.dao.H2DAO
;
import
org.skywalking.apm.collector.storage.h2.base.define.H2SqlEntity
;
import
org.skywalking.apm.collector.storage.table.jvm.GCMetric
;
...
...
@@ -31,7 +30,7 @@ import org.skywalking.apm.collector.storage.table.jvm.GCMetricTable;
/**
* @author peng-yongsheng, clevertension
*/
public
class
GCMetricH2
StreamDAO
extends
H2DAO
implements
IGCMetricStreamDAO
,
I
PersistenceDAO
<
H2SqlEntity
,
H2SqlEntity
,
GCMetric
>
{
public
class
GCMetricH2
PersistenceDAO
extends
H2DAO
implements
IGCMetric
PersistenceDAO
<
H2SqlEntity
,
H2SqlEntity
,
GCMetric
>
{
@Override
public
GCMetric
get
(
String
id
)
{
return
null
;
...
...
apm-collector/apm-collector-storage/collector-storage-h2-provider/src/main/java/org/skywalking/apm/collector/storage/h2/dao/InstanceHeartBeatH2DAO.java
→
apm-collector/apm-collector-storage/collector-storage-h2-provider/src/main/java/org/skywalking/apm/collector/storage/h2/dao/InstanceHeartBeatH2
Persistence
DAO.java
浏览文件 @
932dbbc7
...
...
@@ -27,9 +27,8 @@ import java.util.Map;
import
org.skywalking.apm.collector.client.h2.H2Client
;
import
org.skywalking.apm.collector.client.h2.H2ClientException
;
import
org.skywalking.apm.collector.core.UnexpectedException
;
import
org.skywalking.apm.collector.storage.base.dao.IPersistenceDAO
;
import
org.skywalking.apm.collector.storage.base.sql.SqlBuilder
;
import
org.skywalking.apm.collector.storage.dao.IInstanceHeartBeatDAO
;
import
org.skywalking.apm.collector.storage.dao.IInstanceHeartBeat
Persistence
DAO
;
import
org.skywalking.apm.collector.storage.h2.base.dao.H2DAO
;
import
org.skywalking.apm.collector.storage.h2.base.define.H2SqlEntity
;
import
org.skywalking.apm.collector.storage.table.register.Instance
;
...
...
@@ -40,9 +39,9 @@ import org.slf4j.LoggerFactory;
/**
* @author peng-yongsheng, clevertension
*/
public
class
InstanceHeartBeatH2
DAO
extends
H2DAO
implements
IInstanceHeartBeatDAO
,
I
PersistenceDAO
<
H2SqlEntity
,
H2SqlEntity
,
Instance
>
{
public
class
InstanceHeartBeatH2
PersistenceDAO
extends
H2DAO
implements
IInstanceHeartBeat
PersistenceDAO
<
H2SqlEntity
,
H2SqlEntity
,
Instance
>
{
private
final
Logger
logger
=
LoggerFactory
.
getLogger
(
InstanceHeartBeatH2DAO
.
class
);
private
final
Logger
logger
=
LoggerFactory
.
getLogger
(
InstanceHeartBeatH2
Persistence
DAO
.
class
);
private
static
final
String
GET_INSTANCE_HEARTBEAT_SQL
=
"select * from {0} where {1} = ?"
;
...
...
apm-collector/apm-collector-storage/collector-storage-h2-provider/src/main/java/org/skywalking/apm/collector/storage/h2/dao/MemoryMetricH2DAO.java
→
apm-collector/apm-collector-storage/collector-storage-h2-provider/src/main/java/org/skywalking/apm/collector/storage/h2/dao/MemoryMetricH2
Persistence
DAO.java
浏览文件 @
932dbbc7
...
...
@@ -20,9 +20,8 @@ package org.skywalking.apm.collector.storage.h2.dao;
import
java.util.HashMap
;
import
java.util.Map
;
import
org.skywalking.apm.collector.storage.base.dao.IPersistenceDAO
;
import
org.skywalking.apm.collector.storage.base.sql.SqlBuilder
;
import
org.skywalking.apm.collector.storage.dao.IMemoryMetricDAO
;
import
org.skywalking.apm.collector.storage.dao.IMemoryMetric
Persistence
DAO
;
import
org.skywalking.apm.collector.storage.h2.base.dao.H2DAO
;
import
org.skywalking.apm.collector.storage.h2.base.define.H2SqlEntity
;
import
org.skywalking.apm.collector.storage.table.jvm.MemoryMetric
;
...
...
@@ -31,7 +30,7 @@ import org.skywalking.apm.collector.storage.table.jvm.MemoryMetricTable;
/**
* @author peng-yongsheng, clevertension
*/
public
class
MemoryMetricH2
DAO
extends
H2DAO
implements
IMemoryMetricDAO
,
I
PersistenceDAO
<
H2SqlEntity
,
H2SqlEntity
,
MemoryMetric
>
{
public
class
MemoryMetricH2
PersistenceDAO
extends
H2DAO
implements
IMemoryMetric
PersistenceDAO
<
H2SqlEntity
,
H2SqlEntity
,
MemoryMetric
>
{
@Override
public
MemoryMetric
get
(
String
id
)
{
return
null
;
...
...
apm-collector/apm-collector-storage/collector-storage-h2-provider/src/main/java/org/skywalking/apm/collector/storage/h2/dao/MemoryPoolMetricH2DAO.java
→
apm-collector/apm-collector-storage/collector-storage-h2-provider/src/main/java/org/skywalking/apm/collector/storage/h2/dao/MemoryPoolMetricH2
Persistence
DAO.java
浏览文件 @
932dbbc7
...
...
@@ -20,9 +20,8 @@ package org.skywalking.apm.collector.storage.h2.dao;
import
java.util.HashMap
;
import
java.util.Map
;
import
org.skywalking.apm.collector.storage.base.dao.IPersistenceDAO
;
import
org.skywalking.apm.collector.storage.base.sql.SqlBuilder
;
import
org.skywalking.apm.collector.storage.dao.IMemoryPoolMetricDAO
;
import
org.skywalking.apm.collector.storage.dao.IMemoryPoolMetric
Persistence
DAO
;
import
org.skywalking.apm.collector.storage.h2.base.dao.H2DAO
;
import
org.skywalking.apm.collector.storage.h2.base.define.H2SqlEntity
;
import
org.skywalking.apm.collector.storage.table.jvm.MemoryPoolMetric
;
...
...
@@ -31,7 +30,7 @@ import org.skywalking.apm.collector.storage.table.jvm.MemoryPoolMetricTable;
/**
* @author peng-yongsheng, clevertension
*/
public
class
MemoryPoolMetricH2
DAO
extends
H2DAO
implements
IMemoryPoolMetricDAO
,
I
PersistenceDAO
<
H2SqlEntity
,
H2SqlEntity
,
MemoryPoolMetric
>
{
public
class
MemoryPoolMetricH2
PersistenceDAO
extends
H2DAO
implements
IMemoryPoolMetric
PersistenceDAO
<
H2SqlEntity
,
H2SqlEntity
,
MemoryPoolMetric
>
{
@Override
public
MemoryPoolMetric
get
(
String
id
)
{
return
null
;
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录