This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.mogujie.dragon.exodus.core.commons | |
import ch.qos.logback.classic.spi.ILoggingEvent | |
import ch.qos.logback.core.sift.AbstractDiscriminator | |
import scala.beans.BeanProperty | |
/** | |
* author: luwu [email protected] | |
* 2014 2014-01-22 上午11:57 | |
*/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
if [ $# -eq 0 ];then | |
echo "please enter java pid" | |
exit -1 | |
fi | |
pid=$1 | |
jstack_cmd="" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
object LinearizationLearn { | |
case class Clazz(name: String, succ: List[Clazz]) | |
val animal = Clazz("animal", Nil) | |
val furry = Clazz("furry", List(animal)) | |
val hasLegs = Clazz("hasLegs", List(animal)) | |
val fourLegged = Clazz("fourLegged", List(hasLegs)) | |
val cat = Clazz("cat", List(animal, furry, fourLegged)) |
OlderNewer